0.84: Browser changes Folder after closing active image tab

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
young
Posts: 13
Joined: Mon Jan 09, 2017 5:42 am

0.84: Browser changes Folder after closing active image tab

Post by young »

Whenever an active image tab is closed, the Browser will change to the folder of the closed image.

This is bad when you are browsing a category:
  1. Switch to Categories Filter.
  2. Select a category to browse.
  3. Open an image.
  4. Close the image tab.
The browser now shows the folder that contains the closed image, instead of the category that was already in the Browser.

You cannot go back to the category by using the Back button, because only folders are stored in history. You lose your location and have to find the image again.

This problem only happens for active image tabs. It does not happen if an inactive image tab is closed. If you switch back to the Browser tab, and then close the image tab, the Browser stays on the category and does not change to the folder. This is the correct behavior.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Browser changes Folder after closing active image

Post by helmut »

Thank you for your problem report, young. Which beta version did you use? Does this work in XnView 0.83?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Browser changes Folder after closing active image

Post by xnview »

it was like that in XnView Classic, perhaps i need to add a setting to disable it?
Pierre.
young
Posts: 13
Joined: Mon Jan 09, 2017 5:42 am

Re: 0.84: Browser changes Folder after closing active image

Post by young »

An option would be a good idea. However, I think it should be off by default, because it is a side effect that doesn't match other applications.

The Browser is sort of like Windows Explorer. If you open two images from different folders in Windows Explorer, closing one of them will not change the folder in Explorer.

Or look at a thumbnail gallery on a web page. If you open new browser tabs for multiple images that you want to examine more closely, closing one of the tabs will not scroll the thumbnail gallery to the closed image.

I understand why the behavior was originally added. However, it makes XnView inconsistent with other applications, so it is best for the default to be consistent.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Browser changes Folder after closing active image

Post by helmut »

young wrote:An option would be a good idea. However, I think it should be off by default, because it is a side effect that doesn't match other applications. ...
+1 I fully agree.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Browser changes Folder after closing active image

Post by xnview »

sorry but you have it already :)
Settings>Interface>Synchronize browser
Pierre.
young
Posts: 13
Joined: Mon Jan 09, 2017 5:42 am

Re: 0.84: Browser changes Folder after closing active image

Post by young »

xnview wrote:sorry but you have it already :)
Settings>Interface>Synchronize browser
Thanks, that works. I don't know how I missed that. I think I just skipped over it because I was looking for it under Tabs.

How about:
  • Turning it off by default to be consistent with other Windows applications.
  • Moving all three view options from Interface to Tabs.
HanVroon
Posts: 225
Joined: Thu Jan 28, 2010 7:30 am

Re: 0.84: Browser changes Folder after closing active image

Post by HanVroon »

Funny how browsing through bugs can point you to already implemented wishes... :)
I always found it pity in XnViewMP that when I was Browsing all my photos by rightclick on the main folder and choosing "Show all files (recursive)", then open a photo and closing it again, the Browser view changed to that subfolder, instead of still showing all recursive files, like in Classic.
Now that I know about this overlooked setting "Synchronize browser when view is closed", I can toggle it off when I want to work with show all recursive.
I was planning to ask Pierre some time if this show the folder content of the last closed tab could be disabled when recursive mode is on, but now that seems obsolete.

The fact that XnViewMP Browser switches to the folder of the last closed tab is something I like and use a lot.
So the configuration choise of "Synchronize browser when view is closed" should be kept, I don't mind if it is moved, as long as I can find it.
After all, XnViewMP is much more than a Windows Explorer set to thumb view with a Windows Photo Viewer to show the files...
Post Reply