Auto reset tree.

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Max_T
Posts: 3
Joined: 17 Sep 2019 15:15

Auto reset tree.

Post by Max_T »

Is there a way, even if through scripting, to have each tab automatically reset the tree?

At the moment, when you switch between tabs, it keeps all the folders expanded from other tabs and the tree view can become quite cluttered, quite fast.
I don't want to use the mini tree feature, because that collapses everything to the single, current folder. I want it to behave like when you reset the tree from the view menu.
I want, when I click on a different tab, it should sort of automatically perform a "reset tree" command, or act like a reset tree command was performed.

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

Re: Auto reset tree.

Post by admin »

Simply tick this:

Configuration | General | Tree and List | Tree | Auto-optimize tree

Max_T
Posts: 3
Joined: 17 Sep 2019 15:15

Re: Auto reset tree.

Post by Max_T »

I do have it ticked, but it doesn't do anything. If I untick it, it makes no difference.

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

Re: Auto reset tree.

Post by admin »

Please check if this is set to 1 in XYplorer.ini:

Code: Select all

AutoOptimizeTreeRadical=1

Max_T
Posts: 3
Joined: 17 Sep 2019 15:15

Re: Auto reset tree.

Post by Max_T »

That solved the problem. Thank you very much!

I tested it, for some reason it wouldn't save it to the file. When I closed Xyplorer, it reset it back to 0 again.

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

Re: Auto reset tree.

Post by admin »

How to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak

By factory default this setting is AutoOptimizeTreeRadical=1 since v19.40.0004 - 2018-11-25 17:29. Maybe you have an older version.

albiss
Posts: 2
Joined: 15 Aug 2013 09:40

Re: Auto reset tree.

Post by albiss »

@Max_T

XYplorer must be closed before saving. 8)

Borut
Posts: 1412
Joined: 19 Oct 2010 19:29

Re: Auto reset tree.

Post by Borut »

Maybe this is a good place to describe my problem...

Since the beginning of time I have:

Code: Select all

AutoOptimizeTreeRadical=1
Auto-optimize tree checked
After I open a lot of tabs via SC, where the address of the each one points somewhere in the network, I then.... Visit one tab: Target folder expanded, as expected. I then visit some other tab: Both the addressed folder of this tab AND of the previously visited tab are expanded. The expanded folders continue to accumulate with the visit of each new tab...

I think that I am noticing this for some months now. It definitely did not start with the current version, but way before. Am I just dreaming that this was not the case before? Or am I the only one to see this (settings?)?

Any ideas? Can you people recreate this behavior? Thanks.
Win 10 Pro 64bit

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

Re: Auto reset tree.

Post by admin »

Confirmed. Fixed in next beta.

Borut
Posts: 1412
Joined: 19 Oct 2010 19:29

Re: Auto reset tree. --- [Solved] Auto-optimize tree under "Network"

Post by Borut »

Auto-optimize tree under "Network" - Solved in v24.00.0104 - 2023-01-28 13:34.

Many thanks! :tup: :beer:
Win 10 Pro 64bit

Post Reply