constellation icon indicating copy to clipboard operation
constellation copied to clipboard

Bug with Selection in the new Advanced find

Open GammaVel opened this issue 2 years ago • 0 comments

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: image 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

  1. Open up the Experimental find > Advanced
  2. Set the criteria to be Look for Node, Match criteria ALL, Current Selection IGNORE
  3. Add criteria where you know there will be a match on the graph
  4. Add another criteria for selected and set it to TRUE.
  5. Highlight an area on the graph which has the Node with the match
  6. Click on Find > The node is not found
  7. 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: selected option

GammaVel avatar May 05 '22 01:05 GammaVel