Page 1 of 1

Start with no file – last session's file is opened [Solved]

Posted: Tue Jan 02, 2024 3:18 am
by antediluvian
Greetings.

XnViewMP (v1.6.3) starts with a file from memory when launched from taskbar or directly from exe – that is, when it's actually started without any image file. Happens only if last session had ended in fullscreen viewer mode.

Similar thread, but with explanations gone astray: https://forum.xnview.com/viewtopic.php?t=38706

Re: Start with no file – last session's file is opened

Posted: Tue Jan 02, 2024 3:52 am
by antediluvian
Addition: tabs left when exiting from fullscreen viewer mode pile up if more images are opened directly with "start with file > start fullscreen" option on – gotta switch to non-fullscreen view and close all tabs to make XnView start the next blank session from a designated folder in "no file" mode.

Re: Start with no file – last session's file is opened

Posted: Tue Jan 02, 2024 4:34 am
by antediluvian
I know I should've tested everything before posting, but here's some more:
- file memory is not cleared when OS is restarted
+ file memory is promptly cleared if XnMP is closed with [Ctrl + W] instead of [Esc] (requires the option to close when last tab is closed)

Re: Start with no file – last session's file is opened

Posted: Tue Jan 02, 2024 8:02 am
by xnview
'Settings>General>Save session on program exit'?

Re: Start with no file – last session's file is opened

Posted: Tue Jan 02, 2024 5:38 pm
by antediluvian
Yes, that was it. Thank you.