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

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

antediluvian
Posts: 4
Joined: Tue Jan 02, 2024 3:11 am

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

Post 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
antediluvian
Posts: 4
Joined: Tue Jan 02, 2024 3:11 am

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

Post 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.
antediluvian
Posts: 4
Joined: Tue Jan 02, 2024 3:11 am

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

Post 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)
User avatar
xnview
Author of XnView
Posts: 43613
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post by xnview »

'Settings>General>Save session on program exit'?
Pierre.
antediluvian
Posts: 4
Joined: Tue Jan 02, 2024 3:11 am

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

Post by antediluvian »

Yes, that was it. Thank you.