Page 2 of 3
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 18:32
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.
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 18:58
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.
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 19:08
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 (37.39 KiB) Viewed 4567 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.
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 19:29
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 (18.7 KiB) Viewed 4567 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.
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 19:59
by Horst
The CEAs are correct.
Other color filters are not active.

- Screenshot - 31.10.2021 , 19_56_06.png (25.7 KiB) Viewed 4561 times
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 20:03
by autocart
Ok, one more thing, that I just saw on your last screenshot.
How many open tabs do you have under that tooltip?
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 20:07
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.
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 20:19
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.
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 21:53
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 (69.45 KiB) Viewed 4544 times
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 31 Oct 2021 22:05
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?
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 01 Nov 2021 09:10
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?
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 01 Nov 2021 10:05
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 (10.93 KiB) Viewed 4517 times
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 01 Nov 2021 10:08
by admin
And you are using a Narrow Tree, right?
Wouldn't you agree that those expansion icons are too fat??
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 01 Nov 2021 10:14
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.
Re: [Script] Mini Tree with open tabs (cur loc expanded, tab folders highlighted)
Posted: 01 Nov 2021 10:22
by admin
Tools | Customize Tree | Narrow Tree
IMO they look ugly that fat.