[XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Discuss and share scripts and script files...
Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by Horst »

Lost my last response in the forum.
When I enable Automatic updating the highlighting occours
as long as I hold down the left mouse button to a new location in the tree. It highlights the current location.
If I release the button the location changes but no highlighting at all.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by autocart »

Horst wrote: 31 Oct 2021 18:32 Lost my last response in the forum.
Not sure, what that means.
Horst wrote: 31 Oct 2021 18:32 as long as I hold down the left mouse button to a new location in the tree. It highlights the current location.
If I release the button the location changes ...
Well, XY does that even without the script.
Horst wrote: 31 Oct 2021 18:32 When I enable Automatic updating the highlighting occours
... but no highlighting at all.
Not sure. Does it now work or does it not work. I guess it does not work.

Can you check if your setup looks like on the pictures (or equivalent), please.
And the context menu should look like in the first post: download/file.php?id=16047
And then, if you open a new tab and in that new tab go to a folder that has not been open before, the highlighting does not change?
Can you post some screenshots, please, of before opening a new tab and afterwards.
EDIT: You can use ::obfuscate(); in the AB to hide private info for the screenshot.
Attachments
CEAs Configuration dialog.png
CEAs Configuration dialog.png (51.67 KiB) Viewed 2238 times
CEA Switch panes.png
CEA Switch panes.png (10.99 KiB) Viewed 2238 times
CEA Drive added or removed.png
CEA Drive added or removed.png (11.08 KiB) Viewed 2238 times
CEA After browsing a folder.png
CEA After browsing a folder.png (11.22 KiB) Viewed 2238 times

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by Horst »

My settings are as in your examples.
The context menu of the button misses the last few entries and looks like this:
Screenshot - 31.10.2021 , 19_03_12.png
Screenshot - 31.10.2021 , 19_03_12.png (37.39 KiB) Viewed 2236 times
I can't produce a screenshot with the highlighting
as it only occurs while I hold down the left mouse button on a new location in the tree.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by autocart »

Horst wrote: 31 Oct 2021 19:08 My settings are as in your examples.
perfect.
Horst wrote: 31 Oct 2021 19:08 The context menu of the button misses the last few entries and looks like this:
Screenshot - 31.10.2021 , 19_03_12.png
also perfect. the missing buttons are ok.
Horst wrote: 31 Oct 2021 19:08 I can't produce a screenshot with the highlighting
as it only occurs while I hold down the left mouse button on a new location in the tree.
ok.
Strange.
I assume you are using the latest version 9.
Can you double check if the CEAs in the config dialog are set to "Run script", as in the picture? This is easy to overlook.
CEAs Configuration dialog-01.png
CEAs Configuration dialog-01.png (18.7 KiB) Viewed 2236 times
Other than that I am not sure, what could be the cause.

Unless you had a different Instant Color Filter (ICF) activated. And I see now that the screenshot with part of your toolbar does not show the "Toggle Instant Colour Filter" button. So, maybe there is another ICF active without you noticing it. To make sure the script works also in that case, just enable that option "+Overwrite Other ICF-Highlighting if Present" in the script's context menu.

If there is still nothing, then I have no more ideas.

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by Horst »

The CEAs are correct.
Other color filters are not active.
Screenshot - 31.10.2021 , 19_56_06.png
Screenshot - 31.10.2021 , 19_56_06.png (25.7 KiB) Viewed 2230 times
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by autocart »

Ok, one more thing, that I just saw on your last screenshot.
How many open tabs do you have under that tooltip?

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by Horst »

Only one tab on each pane is open while testing the script.

Btw. enabling "+Overwrite Other ICF-Highlighting if Present" doesn't help.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by autocart »

Horst wrote: 31 Oct 2021 20:07 Only one tab on each pane is open while testing the script.
:| :| seriously?
I am really not sure what to say now.
I'll repeat my previous explanation in German:

Die Markierungsfunktion des Skripts dient dazu, im Baum die Ordner hervorzuheben, die gerade in den Tabs in der Tableiste geöffnet sind. Und zwar nur von den Tabs des gerade aktiven Paneels. Dadurch sieht man im Baum, welche Tabs gerade (im aktiven Paneel) offen sind und muss nicht zusätzlich in die Tableiste schauen. Wenn du pro Paneel nur einen Tab offen hast, ist es ja klar, dass du keine speziellen Markierungen im Baum siehst, weil der aktive Tab bzw. aktuelle Ordner im Baum sowieso immer von Haus aus von XY (auch ohne mein Skript) markiert bzw. hervorgehoben wird. Und andere Tabs sind ja dann nicht vorhanden, deren Ordner im Baum markiert werden könnten.

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by Horst »

Ok, this explains the missing highlight.
I now have 2 tabs and the script highlights the wrong one, not the active tab.
I don't see the logic here.
Screenshot - 31.10.2021 , 21_51_41.png
Screenshot - 31.10.2021 , 21_51_41.png (69.45 KiB) Viewed 2212 times
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by autocart »

Please, Horst,
the script highlights both folders in the tree.
XY's natural own highlighting of the current folder just is more powerful and paints over the script's (or, rather, ICF's) highlighting of the current folder.

If you make the tree wide enough and look closely, you should see a tiny short green line at the right end of the current folder in the tree.
This is because the ICF's highlighting is "under" XY's own current-folder-highlighting but it is a little bit longer, thus, extends out from "underneath" and becomes a little bit visible at the right end.

However, this is all native XY behaviour and has nothing to do particularly with my script.
This is also true of other ICF highlighting.
If I may ask: Why do you as forum moderator not know these things?

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by admin »

Horst wrote: 31 Oct 2021 21:53 Ok, this explains the missing highlight.
I now have 2 tabs and the script highlights the wrong one, not the active tab.
I don't see the logic here.
Screenshot - 31.10.2021 , 21_51_41.png
Horst, I wonder why your expansion icons in the tree are so fat!? What are your font settings, and what's your screen resolution?

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by Horst »

With more than 3 tabs I now see the logic behind the highlighting :)
Screen resolution is 1920 x 1080
Fonts are set
Screenshot - 01.11.2021 , 10_04_12.png
Screenshot - 01.11.2021 , 10_04_12.png (10.93 KiB) Viewed 2185 times
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by admin »

And you are using a Narrow Tree, right?

Wouldn't you agree that those expansion icons are too fat??

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by Horst »

admin wrote: 01 Nov 2021 10:08 And you are using a Narrow Tree, right?

Wouldn't you agree that those expansion icons are too fat??
I don't know what you mean with Narrow Tree ?
On the real screen the expansion icons are fine for me.
Also I don't use the tree most of the time.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

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

Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)

Post by admin »

Tools | Customize Tree | Narrow Tree

IMO they look ugly that fat.

Post Reply