1.4.5 - general - Pressing Esc once quits XnViewMP
Posted: Fri Jul 07, 2023 3:34 pm
XnViewMP 1.4.5-1.5.0 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%
General
pressing Esc / clicking X neither closes <empty> tab, nor quits the app
To reproduce:
1. goto Settings
- uncheck "Closing last tab exits XnView" checkbox
- set "Pressing Esc once quits XnViewMP" to Always
- press OK
2. open any image
Issue A
3. press Enter to open Browser mode
4. press Esc or press CTRL+W multiple times
<empty> tab remains open, app does not quit
Issue B
3. click tab's X button or press CTRL+W
image closes, tab becomes <empty>
4. click tab's X button or press CTRL+W
<empty> tab remains open, app does not quit
Issue C
1. goto Settings
- set "Pressing Esc once quits XnViewMP" to Only in fullscreen
- press OK, close app
2. open any image (eg via double click)
3. press F11 to switch to Fullscreen mode
4. press Esc
app switches from Viewer Fullscreen to Viewer Normal mode instead of quit
Suggestion A
"Pressing Esc once quits XnViewMP" is not correct naming for current functionality.
Suggestion B
However, I think its better to rework it into 2 checkboxes:
- "Pressing Esc closes Browser tab"
- "Pressing Esc closes Viewer tab"
Pressing Esc in Fullscreen mode shall always switch to previous mode (Browser/Viewer).
App quit will be controlled by "Closing last tab exits XnView" checkbox.
How to fast quit app with multiple tabs (of the same mode or mixed)?
via shortcut:
Windows11 (22H2), display resolution 3840x2160, win scaling 150%
General
pressing Esc / clicking X neither closes <empty> tab, nor quits the app
To reproduce:
1. goto Settings
- uncheck "Closing last tab exits XnView" checkbox
- set "Pressing Esc once quits XnViewMP" to Always
- press OK
2. open any image
Issue A
3. press Enter to open Browser mode
4. press Esc or press CTRL+W multiple times
<empty> tab remains open, app does not quit
Issue B
3. click tab's X button or press CTRL+W
image closes, tab becomes <empty>
4. click tab's X button or press CTRL+W
<empty> tab remains open, app does not quit
Issue C
1. goto Settings
- set "Pressing Esc once quits XnViewMP" to Only in fullscreen
- press OK, close app
2. open any image (eg via double click)
3. press F11 to switch to Fullscreen mode
4. press Esc
app switches from Viewer Fullscreen to Viewer Normal mode instead of quit
Suggestion A
"Pressing Esc once quits XnViewMP" is not correct naming for current functionality.
- it shall be either changed to checkbox "Close Browser tab via Esc button"
because existing combobox only affects this aspect
OR
- if you really want worded behavior, combobox shall work as following:
- Never - never close app via Esc, only close tabs (Browser/Viewer)
- Always - close app whenever Esc is pressed (in absence of any extra dialogs/panels), no matter how many tabs are open (same as ALT+F4, CTRL+Q)
- Only in fullscreen - same as "Always" but in Fullscreen only
Suggestion B
However, I think its better to rework it into 2 checkboxes:
- "Pressing Esc closes Browser tab"
- "Pressing Esc closes Viewer tab"
Pressing Esc in Fullscreen mode shall always switch to previous mode (Browser/Viewer).
App quit will be controlled by "Closing last tab exits XnView" checkbox.
How to fast quit app with multiple tabs (of the same mode or mixed)?
via shortcut:
- default
ALT+F4, CTRL+Q
- custom
it will require to update Shortcuts in Settings:
- add new actions "Quit" and maybe "Quit without saving" (maybe via adding new "General" group), so user can assign any button to quit action (eg Esc)
however, it will not be possible to exit Fullscreen move via ESC than..