1.6.1 - general - fix ESC closing app in single instance mode

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

1.6.1 - general - fix ESC closing app in single instance mode

Post by user0 »

XnViewMP 1.6.1 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


General
There were positive changes in 1.4.5 - general - Pressing Esc once quits XnViewMP.
However, some tuning is required to work correctly in single instance mode.

To reproduce:
0. run app with default settings
Settings > Interface > Keyboard > Pressing ESC closes
☐ Browser (tab)
☑ Viewer (tab)

1. goto Settings > General > General tab
- check 'Allow only one instance'
- press OK
2. close app

issue A1
3. run app without file
4. open one image via double-click in win file explorer
image will open as Viewer tab next to Browser tab in single instance - OK
5. press ESC
Quit app popup dialog will appear

issue A2
3. open few images via double-click in win file explorer
images will open as multiple Viewer tabs in single instance - OK
4. press ESC
Quit app popup dialog will appear

expected behaviour
ESC shall close only current Viewer tab (like CTRL+W shortcut), not Quit app (like CTRL+Q shortcut)
User avatar
GeorgD
Posts: 291
Joined: Thu Oct 12, 2006 2:45 pm

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by GeorgD »

Whether ESC closes whole app is also dependant on other settings (especially Interface > Tabs > Closing last tab exits XnView) so a redesign shall IMHO encompass all of the related settings. See also viewtopic.php?f=62&t=38872&p=191304&hil ... se#p191304
In the XnView Wiki, you can improve the user guide / documentation / F1-help for XnView (classic/Windows) and for XnViewMP
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by xnview »

are you able to reproduce with 1.8.0?
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by user0 »

180
A1 - fixed
B̶ -̶ i̶s̶s̶u̶e̶ r̶e̶m̶a̶i̶n̶s̶
A2 - issue remains
Last edited by user0 on Thu Oct 03, 2024 7:08 am, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by xnview »

user0 wrote: Tue Oct 01, 2024 5:39 pm B - issue remains
I'm not able to reproduce. ESC always closes the current view
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by user0 »

A2 looks like this
A2.mp4
(671.94 KiB) Downloaded 93 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.1. Please check and confirm the bug fix here.
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.1 - general - fix ESC closing app in single instance mode

Post by user0 »

fixed in 181
Post Reply