Escape does not close image.

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
FKCapitalism
Posts: 76
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.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 76
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: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 76
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: 76
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: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Escape does not close image.

Post by xnview »

what do you have in settings>Interface>Switching mode?
Pierre.
FKCapitalism
Posts: 76
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: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Escape does not close image.

Post by xnview »

i can't reproduce, i have always only 1 tab
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Escape does not close image.

Post by FKCapitalism2 »

I have set Interface > Tabs > Maximum of view tabs = 1 and restarted XnView MP however when i double click image files in windows explorer it keep opening a new tab for each file i double click.

XnView MP v1.4.4

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

Re: Escape does not close image.

Post by xnview »

FKCapitalism2 wrote: Sun Apr 23, 2023 5:50 am I have set Interface > Tabs > Maximum of view tabs = 1 and restarted XnView MP however when i double click image files in windows explorer it keep opening a new tab for each file i double click.
and ESC doesnt not close tab?
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Escape does not close image.

Post by FKCapitalism2 »

xnview wrote: Tue May 02, 2023 12:13 pm
FKCapitalism2 wrote: Sun Apr 23, 2023 5:50 am I have set Interface > Tabs > Maximum of view tabs = 1 and restarted XnView MP however when i double click image files in windows explorer it keep opening a new tab for each file i double click.
and ESC doesnt not close tab?
ESC indeed does close all tabs with images.

Problem is that i set up XnView MP in order to have only one tab. If for instance i disable the view of tabs in View > Tab - Show and program has many tabs open but invisible, would it not affect the overall performance?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Escape does not close image.

Post by xnview »

ok, so please create a new post for this bug
Pierre.
Post Reply