Limit the parent levels displayed in the tree?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
nxeng
Posts: 5
Joined: 22 Mar 2024 09:14

Limit the parent levels displayed in the tree?

Post by nxeng »

Hi! I can't make good use of the tree when the panel is rather narrow. I think it would be very helpful to be able to limit the number of upper levels displayed, e.g.: for level = 0 the tree only contains the curpath siblings.

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

Re: Limit the parent levels displayed in the tree?

Post by Horst »

Try View / Mini Tree
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77

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

Re: Limit the parent levels displayed in the tree?

Post by admin »

Just for fun run this through the address bar: loadtree <curpath>;

nxeng
Posts: 5
Joined: 22 Mar 2024 09:14

Re: Limit the parent levels displayed in the tree?

Post by nxeng »

This is the opposite of what I meant: it hides the siblings, but shows the whole tree starting from This PC.
My proposal was a tree that limits the upper levels to a configurable number (because I always have to scroll right to make use of the tree) and also shows the children of the current path.

Edit: sorry, I should have posted this under "Wishes" instead.
Last edited by nxeng on 25 Apr 2024 10:15, edited 1 time in total.

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

Re: Limit the parent levels displayed in the tree?

Post by admin »

Can you make a mockup screenshot of what you mean?

nxeng
Posts: 5
Joined: 22 Mar 2024 09:14

Re: Limit the parent levels displayed in the tree?

Post by nxeng »

Sure! I've attached pictures with how my normal/minimized tree looks enclosed in a small area, and how I wished it would look.
For example, I have a folder C:\Users\OneDrive\Docs\ which contains documents organized in other folders, per topic.
When I'm browsing the Docs folder I do not need my tree to show the paths starting from C:\, because they are not related in any way.
I would like to be able to limit the tree to only the other folders in OneDrive (siblings) and the folders in Docs (children).
Edit: this is just a proposal, I manage just fine without the tree (by using the breadcrumb bar)
Attachments
mini-tree.png
mini-tree.png (6.21 KiB) Viewed 168 times
useful-tree.png
useful-tree.png (5.78 KiB) Viewed 168 times
onecommander.png
onecommander.png (39.48 KiB) Viewed 168 times
normal-tree-full.png
normal-tree-full.png (110.84 KiB) Viewed 168 times

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

Re: Limit the parent levels displayed in the tree?

Post by admin »

If I understand you correctly, you could achieve this simply by moving the node in question to the upper left corner using the scrollbars.

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

Re: Limit the parent levels displayed in the tree?

Post by highend »

by moving the node in question to the upper left corner
Won't work with a normal tree, if you open a subfolder with enough entries that exceed the vertical space of the tree the root node will jump out of sight

@OP
The only possible way atm would be to put a link of your root dropbox folder into the "Computer\Links" folder and browse it from there
You can just drag and drop it^^

Required: Configuration | General | Tree and List | Items in Tree and List | Select Items... - [x] Links
One of my scripts helped you out? Please donate via Paypal

nxeng
Posts: 5
Joined: 22 Mar 2024 09:14

Re: Limit the parent levels displayed in the tree?

Post by nxeng »

Thanks! Actually I can manage without the tree, by using the breadcrumb bar.
But I wish it also showed arrows also for folders in the dropdown list that appears when you click a triangle in the breadcrumb bar.

phred
Posts: 248
Joined: 26 Dec 2021 02:10
Location: Running Windows 10 at 100% from Boston USA

Re: Limit the parent levels displayed in the tree?

Post by phred »

admin wrote: 24 Apr 2024 18:27 Just for fun run this through the address bar: loadtree <curpath>;
Using 25.90 on Win10.

In the interest of experimenting, I ran this through the address bar and now some (not all) root directories in the tree do not show -all- the directories. For example, My D:\ drive has 22 directories under the root, but only one is showing in the tree. If it matters, the one that's showing is a "favorite." But some of the other drives have one or two (or none) favorite directories and all of the directories appear in the tree.

I have tried View > Reset Tree and that doesn't bring them all back.

I want to undo loadtree <curpath>;

Thanks.
Last edited by phred on 27 Apr 2024 22:29, edited 1 time in total.

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

Re: Limit the parent levels displayed in the tree?

Post by admin »

Uncheck Mini Tree.

phred
Posts: 248
Joined: 26 Dec 2021 02:10
Location: Running Windows 10 at 100% from Boston USA

Re: Limit the parent levels displayed in the tree?

Post by phred »

Thanks Don. I guess I didn't realize the mini-tree gets enabled when using loadtree <curpath>;

Post Reply