constellation
constellation copied to clipboard
Bug with Selection in the new Advanced find
Prerequisites
-
[X] Put an X between the brackets on this line if you have done all of the following:
-
Running the latest version of Constellation
-
Attached the Support Package via
Help
>Support Package
-
Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ
-
Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues
-
Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories
-
Description
There is an issue with the new Advanced Find (under Experimental) which can be seen when there 2 search criteria and one of them is for selection and the Current Selection has been set to IGNORE. For example: When selected is set to true the logic is in reverse - i.e - it doesn't find the item. When it is set to false it finds the item in the selection.
Steps to Reproduce
- Open up the Experimental find > Advanced
- Set the criteria to be Look for Node, Match criteria ALL, Current Selection IGNORE
- Add criteria where you know there will be a match on the graph
- Add another criteria for selected and set it to TRUE.
- Highlight an area on the graph which has the Node with the match
- Click on Find > The node is not found
- Compare to the current Find. In this case the node is found.
Expected behaviour: When Selected = True and my match node meets the criteria, the node/s are found. I am not sure if this has something to do with IGNORE being set
**Actual behaviour:**see test steps above
Reproduces how often: 100%
Additional Information
Here is a gif of the issue: