Page 1 of 2

How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 14 Feb 2024 16:18
by tobwen
As I learned I can setup color filters for certain criteria.

One of the default color filters is to colorize a folder when its is currently empty.
Unfortunately if this folders contains one or more (nested) empty subfolder(s) it is not seen as empty.

Is there a way to specify a filter: "is empty or contains only (nested) empty folders"?

Tobias

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 14 Feb 2024 18:21
by admin
That's a useful idea! :tup: Coming with the next beta.

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 23 Feb 2024 20:04
by edw24
This is very close to my issue, I wonder if I'm allowed to ask here
I can't make the color filter for empty folders ignore the desktop.ini and the .ico file inside the folder (they are hidden with a system attr)

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 23 Feb 2024 20:17
by highend

Code: Select all

B:prop:#contains.desktop.ini:1 AND B:prop:#contains.*.ico:1 AND B:prop:#itemcount:2;B:prop:#empty:2
?

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 23 Feb 2024 20:58
by edw24
highend wrote: 23 Feb 2024 20:17

Code: Select all

B:prop:#contains.desktop.ini:1 AND B:prop:#contains.*.ico:1 AND B:prop:#itemcount:2;B:prop:#empty:2
?
Thank you very much :3

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 26 Feb 2024 13:15
by tobwen
The question from ewd24 is useful and the answer seems to work.
However the solution looks (too) complicated.
Why not introduce a new property "visiblyempty" which sees a folder as empty if it contain NO visible files at all?

Code: Select all

B:prop:#visiblyempty:2
would be much shorter, more understandable and covers all other hidden stuff.

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 26 Feb 2024 13:16
by highend
And if someone doesn't want to hide the belonging .ico file in the folder (because he wants to see them), that filter wouldn't work...

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 28 Feb 2024 17:48
by tobwen
@highend:

Well in this case the user can revert to the detailed criteria specification you showed before.

In all other cases (approx. 95%) the new property is shorter and will be more user friendly

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 04 Apr 2024 07:54
by tobwen
admin wrote: 14 Feb 2024 18:21 That's a useful idea! :tup: Coming with the next beta.
I guess this idea is meanwhile implemented.

How do I specify it in detail in color filters?

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 09 Jul 2024 14:26
by tobwen
Is this implemented too in the next release?

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 10 Jul 2024 09:27
by admin
What do you mean?

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 10 Jul 2024 09:36
by tobwen
admin wrote: 14 Feb 2024 18:21 That's a useful idea! :tup: Coming with the next beta.
On 14th of Februar you promised an implementation

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 10 Jul 2024 09:44
by admin
What makes you think I would not keep my promises? And in this case, it was not a promise, it was an announcement. And what keeps you from just looking at the release notes or the help file?

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 09 Sep 2024 15:41
by tobwen
highend wrote: 23 Feb 2024 20:17

Code: Select all

B:prop:#contains.desktop.ini:1 AND B:prop:#contains.*.ico:1 AND B:prop:#itemcount:2;B:prop:#empty:2
?
This works only for folders which must contain one desktop.ini AND one .ico

Is there a way to extend this code so that folders are seen as empty if they contain really no file or eventually contain one *.ico and/or contain eventually a desktop.ini file or not?

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 29 Apr 2025 16:36
by pstein
admin wrote: 10 Jul 2024 09:44 What makes you think I would not keep my promises? And in this case, it was not a promise, it was an announcement. And what keeps you from just looking at the release notes or the help file?
I revisit now this thread. I am unsure about the meaning of your statement.

Does that mean it is already implemented?
I reviewed the latest release notes and searched help file about "nested empty folders" - No matching.

Maybe you can give me a little help as a stupid user. If the mentioned announcement has not yet been implemented: When did the implementation take place?