Project

General

Profile

Feature #1556

qmos - add ability to search on an image name

Added by Lynn Weller over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Applications
Target version:
Impact:

The active file list can now be searched in Qmos

Software Version:
Test Reviewer:

Description

When hundreds, thousands and sometimes tens of thousands of images are loaded into qmos it becomes almost impossible to find an image name in the File List frame. Could some sort of filename search capability be added to qmos to help with this problem?

History

#3 Updated by Anonymous about 5 years ago

  • Target version deleted (150)

#6 Updated by Stuart Sides over 1 year ago

  • Target version set to 3.5.1 (Sprint 1)

#7 Updated by Cole Neubauer over 1 year ago

  • Assignee set to Cole Neubauer

#8 Updated by Cole Neubauer over 1 year ago

  • Status changed from Acknowledged to Assigned

#9 Updated by Makayla Shepherd over 1 year ago

  • Status changed from Assigned to In Progress

#10 Updated by Cole Neubauer over 1 year ago

  • Status changed from In Progress to Resolved
  • Impact updated (diff)
  • Test Reviewer set to Lynn Weller

The fix is in /work/projects/isis/latest/m01556
built on Prog24.

The current placement of the search bar is above the file list on the left side of the app. There is a textbox where to enter your search term. A "Search" button that highlights all the filenames that includes the search term in the text box. A "Clear" button that clears the text box and unhighlights any highlighted filenames. The last component is a label that has the number of filenames that match the search term.

#11 Updated by Ian Humphrey over 1 year ago

  • Status changed from Resolved to In Progress

#12 Updated by Cole Neubauer over 1 year ago

Majority if not all the new code should probably be moved to ImageFileListWidget

#13 Updated by Lynn Weller over 1 year ago

  • Status changed from In Progress to Feedback

This looks great!

One request (if there is time and permission to do so) - could focus be brought to the the first (or only) occurrence of a match in the list when search is selected (the Select tool works in this way)? This would be very helpful in the case of long lists, otherwise the user must scroll through the list to find the highlighted filename(s) and risk missing it on multiple passes and even worse, accidentally clicking on another filename, which I think is creating a problem. See below.

Here's my scenario:
- Enter filename, click search
File Matches = 1
- Scroll down list looking for highlighted term
- Click/highlight on some other filename (say accidentally)
- Click on Search again to re-search filename already in text box - in a sense resetting the search
File Matches = 2

When I carefully scroll down the list, the filename originally search on the the one accidentally clicked on are both highlighted. File Matches seems to be keeping track of the number of files highlighted as opposed to the actual search results.

I think this is a bug and needs to be addressed before the focussing is considered (which would be extremely useful and help reduce pilot error). Other than that I do think this looks great and will be used quite a bit.

If you need it (sorry I didn't offer before), I have a very small dataset you can work with under /work/users/lweller/Isis3Tests/Qmos/FindTool/. Load npola_cubs.lis (and the file npola_clon0_3m.map if you like). It's a small list of images so it's easy to see what is going on as far as the highlighting is concerned.

#14 Updated by Stuart Sides about 1 year ago

  • Target version changed from 3.5.1 (Sprint 1) to 3.5.2 (2017-01-31 Jan)

#15 Updated by Makayla Shepherd about 1 year ago

  • Status changed from Feedback to In Progress

#16 Updated by Lynn Weller about 1 year ago

Here's a bigger (but manageable) list of images that will require scrolling:

/work/projects/themis_control/lweller/Eridania/DayIR/Eridania_DayIR_Ground_Final.lis

#17 Updated by Cole Neubauer about 1 year ago

  • Status changed from In Progress to Resolved

The latest version of this has only things matching the searched term selected. It also scrolls to the last match of the searched term.

#18 Updated by Lynn Weller about 1 year ago

  • Status changed from Resolved to Closed

Awesome! Thank you for taking the user to the last match of the searched term (helps a lot) and taking being able to properly re-search an entry after other names have been highlighted in the list.
Looks great!

Also available in: Atom PDF