Closing the last opened tab when closing the program.

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
highstream
Posts: 328
Joined: 10 Apr 2010 21:43

Closing the last opened tab when closing the program.

Post by highstream »

Just went from Win 10 to 11 via a clean install, and so a new reinstall of XYPlorer and trying to remember all my old settings. To save time and shoulder wear and tear, I typically open the program from an icon for a specific folder, e.g., Documents. What I'm finding now is that the tab from the last opening is still up there too. There's a setting to stop this, have the previous (different) tab close with the program, isn't there? Thanks,
Last edited by highstream on 04 Sep 2025 06:11, edited 1 time in total.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Closing the last opened tab when closing the program.

Post by highend »

Configuration | General | Startup & Exit | Save Settings | Apply to...
[ ] Tabs
One of my scripts helped you out? Please donate via Paypal

highstream
Posts: 328
Joined: 10 Apr 2010 21:43

Re: Closing the last opened tab when closing the program.

Post by highstream »

Thanks, but I must not be getting the settings right. In the screenshot below, both of the top two Save Settings items are unchecked, as is tabs. But when I reopen to another folder, the previous two tabs are up there too, and the "Include most-recently..." is rechecked, as is the Tabs box. What am I missing?

XYPlorer tabs issue.jpg
XYPlorer tabs issue.jpg (85.71 KiB) Viewed 8638 times

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Closing the last opened tab when closing the program.

Post by highend »

You have "Save settings on exit" disabled so when you just close XY without manually saving settings first after doing the changes...
One of my scripts helped you out? Please donate via Paypal

highstream
Posts: 328
Joined: 10 Apr 2010 21:43

Re: Closing the last opened tab when closing the program.

Post by highstream »

Not sure I get the logic of the text, but it worked. Thanks!

Horst
Posts: 1331
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Closing the last opened tab when closing the program.

Post by Horst »

highstream wrote: 04 Sep 2025 07:44 Not sure I get the logic of the text, but it worked. Thanks!
What is unclear in the wording ?
Save settings on exit
does exactly what the English words say.
If you disable it, there is no automatic save on exit of XY..
Windows 11 Home, Version 25H2 (OS Build 26200.7171)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1400a (x64), Everything Toolbar 2.1.0, Listary Pro 6.3.6.99

highstream
Posts: 328
Joined: 10 Apr 2010 21:43

Re: Closing the last opened tab when closing the program.

Post by highstream »

What Save settings on exit seems to mean here is *don’t save* the last *condition* on exiting the program. I found the phrase confusing because I don’t recall any program that doesn’t save its existing settings on exit, unless the user clicks on a “Save as default” button to keep the temporary changes they’ve made for the last operation. It would be clearer if the phrasing was something like, “Save the open tabs on closing,” or vice-versa, “Don’t save…” That way the user would know exactly what is being asked.

Horst
Posts: 1331
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Closing the last opened tab when closing the program.

Post by Horst »

highstream wrote: 04 Sep 2025 15:06 What Save settings on exit seems to mean here is *don’t save* the last *condition* on exiting the program. I found the phrase confusing because I don’t recall any program that doesn’t save its existing settings on exit, unless the user clicks on a “Save as default” button to keep the temporary changes they’ve made for the last operation. It would be clearer if the phrasing was something like, “Save the open tabs on closing,” or vice-versa, “Don’t save…” That way the user would know exactly what is being asked.
A very popular file manager does it (Total Commander)
and I like this behavior as I'm using TC and XY.
This prevents unwanted settings to be saved
while you just play with new settings.
Windows 11 Home, Version 25H2 (OS Build 26200.7171)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1400a (x64), Everything Toolbar 2.1.0, Listary Pro 6.3.6.99

highstream
Posts: 328
Joined: 10 Apr 2010 21:43

Re: Closing the last opened tab when closing the program.

Post by highstream »

Phrasing should make sense on the face of it, telling what the user is choosing. This text doesn't directly do so, or this thread wouldn't exist. My alternative, or something similar, does.

admin
Site Admin
Posts: 64916
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Closing the last opened tab when closing the program.

Post by admin »

I don't get it. I find the current wording perfectly clear.

Moonlight
Posts: 19
Joined: 28 Aug 2025 22:41
Location: Wien, Österreich (Vienna, Austria)

Re: Closing the last opened tab when closing the program.

Post by Moonlight »

highstream wrote: 04 Sep 2025 15:06 It would be clearer if the phrasing was something like, “Save the open tabs on closing,” or vice-versa, “Don’t save…” That way the user would know exactly what is being asked.
The problem is that you would need such a phrasing/option not only for the tabs but for other items too.

But you are right that the situation is a little bit tricky.

If I reproduced it correctly, the situation seems to be the following.

1. The users decide if they want to "Save settings on exit" or not (by checking or unchecking the box) under General -> Startup & Exit.

2. If they have unchecked the box (= they don't want to save the settings), whatever they change afterwards somewhere within the settings will not be kept after exit.

This applies also to the option immediately below the "Save settings on exit", namely "Include most-recently-used lists on save" (which is only a common setting like many others in the program).

This means:

If you had originally checked the box ("Include most-recently...") plus the box (e.g.) for "Tabs" (after clicking on "Apply To") -> if you later uncheck the box for "Tabs" -> if you then exit XYplorer -> if you then open it again, tabs will be here again and the box for "Tabs" will be checked again (as mentioned by highstream above). The reason is that the unchecking you had made (for Tabs) was ignored at the restart because you had chosen the option that all changes in the settings are ignored when restarting the program (see 1.)

It's quite tricky, but it seems logical to me, and I have no idea for another phrasing.

But I would like to make a suggestion which could perhaps clarify a little bit the situation:

"Save Settings on exit" is obviously the central option which decides what will happen with all other settings after exiting the program. This central role is not visually clear at the moment in the window "Startup & Exit".

Perhaps the option "Include-most-recently-used lists on save" should be removed from this section and transferred somewhere else to avoid confusion. And renamed there, as the words "save" and "include" also produce confusion.

Yes, the matter with the lists is also a saving procedure but a different one. So perhaps better the option should be named for example in the same way as it happens anyway in the window that opens after clicking "Apply to": "Remember Most-Recently-Used Lists". And with this name the option could be transferred e.g. into the section General -> Refresh, Icons, History (as remembering is close to history). Or it could stay at "Startup & Exit", but not under "Save Settings" but somewhere above, perhaps with the clarification "Remember Most-Recently-Used Lists at startup".
Name-Place.jpg
Name-Place.jpg (42.03 KiB) Viewed 8423 times
Last edited by Moonlight on 05 Sep 2025 03:11, edited 1 time in total.
Windows 11 Home, version 25H2
Resolution 1920x1080p // Screen scaling percentage: 125%
XYplorer: at the moment testing always with the most recent 64-bit version (portable)

Post Reply