Page 1 of 1

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

Posted: Sat Oct 28, 2023 9:42 am
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)

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

Posted: Mon Jan 15, 2024 11:54 am
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

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

Posted: Tue Oct 01, 2024 3:32 pm
by xnview
are you able to reproduce with 1.8.0?

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

Posted: Tue Oct 01, 2024 5:39 pm
by user0
180
A1 - fixed
B̶ -̶ i̶s̶s̶u̶e̶ r̶e̶m̶a̶i̶n̶s̶
A2 - issue remains

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

Posted: Wed Oct 02, 2024 5:58 am
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

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

Posted: Thu Oct 03, 2024 7:05 am
by user0
A2 looks like this
A2.mp4
(671.94 KiB) Downloaded 93 times

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

Posted: Fri Oct 04, 2024 12:15 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

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

Posted: Thu Oct 10, 2024 2:48 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.8.1. Please check and confirm the bug fix here.

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

Posted: Thu Oct 10, 2024 3:48 pm
by user0
fixed in 181