Option to close all Tabs when Closing application (or not)

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
Omens
Posts: 3
Joined: Mon May 05, 2025 8:12 am

Option to close all Tabs when Closing application (or not)

Post by Omens »

Hello

Not sure if that topic been discussed somewhere but my searches were not bringing back any answer about it so...

I made a bad choice when a pop up window offered me to choose if i wanted to keep the currently opened tabs when I exit the application.
So I was trying tofind a way to correct my mistake...

After a search, I finally found out in the xnview.ini file an entry called :
sessionFlag=1
which was the setting to Keep the tabs.
after changing it to 0, I tried top re open and close the application and the pop up went back on screen so I could change my mistake to ask the app to close all the Tabs.
Then checking the entry showed it with value : 2.

Of course if you read this and try to do such change make sure your application is closed before modifying that .ini file.

Suggestion :
Maybe adding it to the Setting might help...

Hope it helps.
Rgds
cday
XnThusiast
Posts: 4394
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Option to close all Tabs when Closing application (or not)

Post by cday »

Isn't there already an option somewhere in Tools > Settings... to enable/disable closing tabs when the application is closed?
Omens
Posts: 3
Joined: Mon May 05, 2025 8:12 am

Re: Option to close all Tabs when Closing application (or not)

Post by Omens »

Hello

It was my point, I was unable to see it anywhere.
Feel free to point me to it.
I may have missed it.

Rgds
cday
XnThusiast
Posts: 4394
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Option to close all Tabs when Closing application (or not)

Post by cday »

Omens wrote: Tue May 06, 2025 9:12 am It was my point, I was unable to see it anywhere.
Feel free to point me to it.
Someone familiar with the ever-evolving settings?
mudo_j
Posts: 60
Joined: Fri Feb 17, 2017 7:01 pm

Re: Option to close all Tabs when Closing application (or not)

Post by mudo_j »

Settings - General - Save session on program exit
Omens
Posts: 3
Joined: Mon May 05, 2025 8:12 am

Re: Option to close all Tabs when Closing application (or not)

Post by Omens »

mudo_j wrote: Thu May 08, 2025 1:53 am Settings - General - Save session on program exit
Ohhh Ok, now I understand why I did not saw it... :)
Post Reply