Closing full screen by Esc key (2 start conditions)

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

cicciobello
Posts: 226
Joined: Wed Dec 25, 2013 7:08 pm

Closing full screen by Esc key (2 start conditions)

Post by cicciobello »

I would like to get this:
- MP closed: double click on image file in OS: MP opens in full screen, then with Esc close full screen and return to OS
- MP opened (browser mode): double click on thumbnail: view the image in full screen, with Esc close full screen and return to the browser

I've tried various combinations in Settings - Interface - Keyboard - Pressing ESC closes, but I can't get what I wrote.

MS Windows 10
MP 1.6.1 x64
User avatar
user0
XnThusiast
Posts: 1661
Joined: Sat May 09, 2015 9:37 am

Re: Closing full screen by Esc key (2 start conditions)

Post by user0 »

it looks like you did not play with settings enough
1. Settings > General > Startup > Start with file > Open: Viewer - Fullscreen
2. Settings > Interface > Switching mode > Double click: Browser <> Fullscreen | Viewer <> Fullscreen
cicciobello
Posts: 226
Joined: Wed Dec 25, 2013 7:08 pm

Re: Closing full screen by Esc key (2 start conditions)

Post by cicciobello »

user0 wrote: Sat Nov 04, 2023 5:26 am 1. Settings > General > Startup > Start with file > Open: Viewer - Fullscreen
I have "Browser - Fullscreen", because I don't like and I don't use Viewer.
I use only Browser and Fullscreen. No Tabs, no Viewer.
user0 wrote: Sat Nov 04, 2023 5:26 am 2. Settings > Interface > Switching mode > Double click: Browser <> Fullscreen | Viewer <> Fullscreen
This is my settings from years, also for "Enter".

In "Settings - Interface - Keyboard - Pressing ESC closes", both [ ] Browser and [ ] Viewer are unchecked.
User avatar
user0
XnThusiast
Posts: 1661
Joined: Sat May 09, 2015 9:37 am

Re: Closing full screen by Esc key (2 start conditions)

Post by user0 »

cicciobello wrote: Sat Nov 04, 2023 8:06 am I use only Browser and Fullscreen. No Tabs, no Viewer.
"Fullscreen" is just a Viewer in frameless window mode
cicciobello wrote: Sat Nov 04, 2023 8:06 am In "Settings - Interface - Keyboard - Pressing ESC closes", both [ ] Browser and [ ] Viewer are unchecked.
return default checked state for Viewer setting
(in addition to the settings from my prev post)
cicciobello
Posts: 226
Joined: Wed Dec 25, 2013 7:08 pm

Re: Closing full screen by Esc key (2 start conditions)

Post by cicciobello »

user0 wrote: Sat Nov 04, 2023 10:42 am return default checked state for Viewer setting
Huh? Sorry, I don't understand this. :-|

I have tested a previous MP release (1.4.1 x64) and this release works as I want.
In MP 1.4.1 Switching mode is all set to "Browser <> Fullscreen | Viewer <> Fullscreen"
But Interface - Keyboard is:
Pressing Esc once quits XnViewMP: "Only in fullscreen".

If I can't get this to work, then I'll have to get used to switching to another "working hotkey system". But now my fingers work on their own because I'm used to it. And this often leads me to close MP when I just want to switch from fullscreen to browser.
User avatar
user0
XnThusiast
Posts: 1661
Joined: Sat May 09, 2015 9:37 am

Re: Closing full screen by Esc key (2 start conditions)

Post by user0 »

cicciobello wrote: Sat Nov 04, 2023 3:57 pm
user0 wrote: Sat Nov 04, 2023 10:42 am return default checked state for Viewer setting
Huh? Sorry, I don't understand this. :-|
Settings > Interface > Keyboard > Pressing ESC closes
- check Viewer (default checked state)

+ 2 settings from my first post
result shall be the same as you desired one
cicciobello
Posts: 226
Joined: Wed Dec 25, 2013 7:08 pm

Re: Closing full screen by Esc key (2 start conditions)

Post by cicciobello »

Pfff...!

So I tried all the "fresh install" versions from 1.4.1 onwards, but I couldn't find the problem.
So I checked my daily backups on NAS, and saw that the problem surfaced a few days ago, overnight.
Always with version 1.6.1 x64, always with the same settings in Settings window [F12].

Where is the problem? Here, in the INI file:

Working version:
[Browser]
openAction_0=2
openAction_2=2

NOT working version:
[Browser]
openAction_0=1
openAction_2=1

The settings in the Settings window [F12] are the same, but these items are different.
I thought it was a change introduced with 1.6.1, but that's not the case.

I don't understand what these settings are in the INI file, and above all I don't understand why they changed.

Anyway, it works now!