Page 1 of 1

Color filter not working in tree

Posted: 01 Jun 2022 19:29
by patrickjust3k
Hello,
I am not a XYplorer expert so please bare with me but the color filter is not working in the tree?
I use a color filter to indicate empty folders.
For reference, I use < 2kb to indicate empty since I also use this with Google Drive and Drive inputs a .ini file in folders automatically and it was throwing my color filter off for empty folders. All files I care about are larger than 2kb
color filter.png
color filter settings.png

Re: Color filter not working in tree

Posted: 01 Jun 2022 19:46
by highend
attr:d AND size: < 2kb

but this works only when the calculated folder size is show so it shouldn't work for the tree

Re: Color filter not working in tree

Posted: 01 Jun 2022 23:37
by patrickjust3k
Is it possible to show empty folders in the tree?

Re: Color filter not working in tree

Posted: 01 Jun 2022 23:40
by highend
T:prop:#empty:2

Re: Color filter not working in tree

Posted: 03 Jun 2022 01:31
by JLoftus
I am also using a color filter to show empty folders, and mine DOES show empty folders in the tree, highlighted with the indicating filter:
2022-06-02_18-30-14.jpg
Note I'm using B:prop instead of T:prop, and also, I do not have sizes shown (because I have network folders that take too long)
2022-06-02_18-32-44.jpg

Re: Color filter not working in tree

Posted: 07 Jun 2022 04:39
by kiwichick
highend wrote: 01 Jun 2022 23:40 T:prop:#empty:2
Highend, I'm probably missing something in the Help file but what does the 2 mean?

Re: Color filter not working in tree

Posted: 07 Jun 2022 07:51
by highend
Look up the property() command, it contains the explanation

Re: Color filter not working in tree

Posted: 07 Jun 2022 09:36
by kiwichick
highend wrote: 07 Jun 2022 07:51 Look up the property() command, it contains the explanation
Thanks. So, if I've got the right thing, it's this:

(2) index of the shell property (number prefixed by #); suffix " n" to return the name of the property.

If so, it may as well be in Latin for all I understand about that :lol:

Re: Color filter not working in tree

Posted: 07 Jun 2022 09:41
by highend
No, it's not. Read the whole entry again^^

Re: Color filter not working in tree

Posted: 07 Jun 2022 09:53
by kiwichick
highend wrote: 07 Jun 2022 09:41 No, it's not. Read the whole entry again^^
Ooops sorry. Right, think I got it this time:

2 = empty folder (#nosubs: folder without subfolders)

When I initially skimmed through I missed it because the list of values isn't in order and since it went number 1 then number 5, I skipped on down to the next section and didn't notice that number 2 came after number 5. Naughty me :naughty: