Page 1 of 1

How do you close the sub folders in the left Navigation pane?

Posted: 19 Sep 2026 03:02
by davidhelp
How do you close the sub folders in the left Navigation pane?
They stay open after I view the files and then close the folder then when re-open the sub folders are open.

XYplorer version 27.20.1500 (32-bit)
Windows 10 Pro 64-bit

Re: How do you close the sub folders in the left Navigation pane?

Posted: 19 Sep 2026 04:50
by phred
CTR + NumberPad Divide (forward slash)

Re: How do you close the sub folders in the left Navigation pane?

Posted: 19 Sep 2026 04:57
by jupe
Configuration | General | Tree and List | Tree | Auto-optimize tree

?

Re: How do you close the sub folders in the left Navigation pane?

Posted: 19 Sep 2026 05:34
by davidhelp
Thanks, It is now fixed.
----------------------------------

ChatGPT gave these answers:
Turn off "Remember state of tree"
1. Open XYplorer.
2. Go to:
Tools → Configuration
3. In the left side of Configuration, select:
General → Tree and List → Tree
4. Find:
☑ Remember state of tree
5. Uncheck it.
6. Click OK.

That setting controls whether XYplorer remembers which folders in the left-hand tree were expanded.
But there is an important distinction
If your problem is specifically:
I expand Pictures → open a subfolder → browse around → close that folder → later open Pictures again, and all of its subfolders are still expanded.
Then turning off "Remember state of tree" may not be exactly what you want, because XYplorer can retain the tree's expansion state during the current session as well.

There is a more useful XYplorer feature called Auto-optimize tree. It automatically collapses non-current branches when you navigate.
Try:
Tools → Configuration → General → Tree and List → Tree → ☑ Auto-optimize tree


There is a specific combination that gets closest to the Windows Explorer behavior you described.
Use these settings.

Go to:
Tools → Configuration → General → Tree and List → Tree
Set the options as follows:
Setting Set it to
Auto-optimize tree ☑ ON
Expand tree nodes on browse ☐ OFF
Expand tree nodes on single click ☐ OFF
Remember state of tree ☐ OFF
The important one is Auto-optimize tree. XYplorer describes it as automatically collapsing non-current nodes in the Tree.
Then make one additional change
XYplorer has an INI tweak called:
AutoOptimizeTreeRadical=1
This makes the auto-optimization happen on each location change, rather than only under the normal Auto-optimize conditions.
The XYplorer administrator specifically recommends this when Auto-optimize Tree isn't collapsing folders aggressively enough.

Auto reset tree from 2019
https://www.xyplorer.com/xyfc/viewtopic ... hatgpt.com

Re: How do you close the sub folders in the left Navigation pane?

Posted: 19 Sep 2026 13:31
by admin
AutoOptimizeTreeRadical=1 is the factory default since 20181125.

BTW, in a Mini Tree to close a tree node for good (forget about opened subfolders) you Ctrl+Click the expansion icon.