Select file from search results when switching between modes
Posted: 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 the Synchronise Browser option is enabled in the options.
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.
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 the Synchronise Browser option is enabled in the options.
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.