Escape does not close image.

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

FKCapitalism
Posts: 72
Joined: Wed Feb 09, 2022 7:32 pm

Escape does not close image.

Post by FKCapitalism »

Sometimes when i browse photos Viewer mode (full screen) and press ESC button it does close image however i see previous image i had open in Viewer mode open in full screen rather than going back to thumbnails view, and i have to press ESC again and again going trough the images that i had seen previously before finally last one closes and it goes to thumbnail view.


I have tabs disabled.


I don't know how to reproduce exactly, but i have this bug many times.
1.png

For this bug to work View > Tab > Show also needs to be unchecked.



1. Open folder with images double click image to open full screen
2. Open double click image to go back to thumbnail view
3. Switch to another folder with images using file explorer on the left side of thumbnail view.
4. Repeat step 2 and 3 several times
5. Open another image in full screen now press ESC button and you see instead of opening thumbnails view it opens previously viewed image in full screen mode.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 37883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Escape does not close image.

Post by xnview »

it seems that you have multiple tabs opened, so when you press ESCAPE, you close the current tab

Could you show the tabs header? with your settings, you should have only 1 'edit' tab. When do you have a second 'edit' tab opened??
Pierre.
FKCapitalism
Posts: 72
Joined: Wed Feb 09, 2022 7:32 pm

Re: Escape does not close image.

Post by FKCapitalism »

xnview wrote: Tue May 31, 2022 11:56 am it seems that you have multiple tabs opened, so when you press ESCAPE, you close the current tab
Indeed
xnview wrote: Tue May 31, 2022 11:56 am Could you show the tabs header? with your settings, you should have only 1 'edit' tab. When do you have a second 'edit' tab opened??
When tabs header is shown i never get this bug because it never opens more than one tab, bug happens only when tabs header is hidden.

I don't open second tab its a bug in the program.
User avatar
xnview
Author of XnView
Posts: 37883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Escape does not close image.

Post by xnview »

FKCapitalism wrote: Wed Jun 01, 2022 8:12 pm When tabs header is shown i never get this bug because it never opens more than one tab, bug happens only when tabs header is hidden.
I can't reproduce, same behavior with or without tabs shown.
You use only 'double click' in edit mode to returns to browser??
Pierre.
FKCapitalism
Posts: 72
Joined: Wed Feb 09, 2022 7:32 pm

Re: Escape does not close image.

Post by FKCapitalism »

xnview wrote: Tue Jun 07, 2022 6:59 am
FKCapitalism wrote: Wed Jun 01, 2022 8:12 pm When tabs header is shown i never get this bug because it never opens more than one tab, bug happens only when tabs header is hidden.
You use only 'double click' in edit mode to returns to browser??
Yes
FKCapitalism
Posts: 72
Joined: Wed Feb 09, 2022 7:32 pm

Re: Escape does not close image.

Post by FKCapitalism »

xnview wrote: Tue Jun 07, 2022 6:59 am
FKCapitalism wrote: Wed Jun 01, 2022 8:12 pm When tabs header is shown i never get this bug because it never opens more than one tab, bug happens only when tabs header is hidden.
I can't reproduce, same behavior with or without tabs shown.
You use only 'double click' in edit mode to returns to browser??
Found how to reproduce this bug, you need to use keyboard only, don't touch mouse.

1. Place images in two or more folders at least one picture in every folder, select first folder.
2. Press enter to navigate to folder and select picture with arrow keys, use press enter to open full screen, to exit full screen mode press enter go back.
3. Press backspace to go one directory up and select next folder.

Repeat steps #2 and #3 couple times.

4. Then once in full screen press Esc and you see previously open image open in full screen.
User avatar
xnview
Author of XnView
Posts: 37883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Escape does not close image.

Post by xnview »

what do you have in settings>Interface>Switching mode?
Pierre.
FKCapitalism
Posts: 72
Joined: Wed Feb 09, 2022 7:32 pm

Re: Escape does not close image.

Post by FKCapitalism »

xnview wrote: Mon Jun 13, 2022 12:38 pm what do you have in settings>Interface>Switching mode?
I have Browser < > Viewer for all three options.
User avatar
xnview
Author of XnView
Posts: 37883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Escape does not close image.

Post by xnview »

i can't reproduce, i have always only 1 tab
Pierre.