1.6.1 - general - fix ESC closing app in single instance mode
Posted: Sat Oct 28, 2023 9:42 am
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)
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)