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

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 1645
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