Select file from search results when switching between modes

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
User avatar
ckv
Posts: 783
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Select file from search results when switching between modes

Post by ckv » Tue Feb 18, 2020 4:49 pm

When you switch between browser and viewer (with a Switching mode shortcut, Ctrl+B, Toolbar Button...) XnView will select the viewed file in browser mode when you switch from viewer to browser. This is a feature that I find often useful, except when search results are displayed in the browser window.

When you view a file from the browser search results, and then switch from that image view back to browser (using Switching mode shortcut, Ctrl+B, Toolbar Button...), XnView clears the search results from the browser and then selects the file from its home directory. Almost every time I do this I would have wanted to continue work on the search results instead, and I have to do the search again. I have to make a conscious effort not to use the shortcut key to switch between modes when I have search results open in the browser.

My suggestion is to select the file in the browser search results when switching from a file view that was opened from the search results. And maybe even a hidden setting to never clear the search results when switching between modes even when switching from a file that is not in the search results.

Edit: Added other methods to invoke the "select the viewed file in browser" behaviour. Switching between browser and viewer by clicking on tabs or using Ctrl+Tab shortcut does not select the viewed file and neither it should.

User avatar
xnview
Author of XnView
Posts: 32737
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Select file from search results when switching between modes

Post by xnview » Mon Mar 23, 2020 4:39 pm

right i'll fix it
Pierre.

Post Reply