Page 1 of 1

NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 15:05
by Marco
I have this CF

Code: Select all

prop:#ResolveJunctionsAll:L:\* //|filter:C:\Folder1\*;C:\Folder2\*
It correctly highlights all the items in Folder1 and Folder2 on the system drive (C) that actually reside on drive L thanks to junctions.
I want to modify it so that it highlights all the items actually not residing on C, so I thought that prepending an ! would have worked, but

Code: Select all

prop:#ResolveJunctionsAll:!C:\* //|filter:C:\Folder1\*;C:\Folder2\*
gives no results. Am I doing something wrong or it is something not supported yet?
And what if (further evolution) I wanted it to highlight all the items whose real drive location doesn't match the current browsed drive, ie something like

Code: Select all

prop:#ResolveJunctionsAll:!<curdrive>
(I know that <curdrive> doesn't exist)?

Re: NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 18:15
by Marco
Ok, I solved part of my question. The exclamation mark must be placed in front of the expression, so this

Code: Select all

!prop:#ResolveJunctionsAll:C:\* //|filter:C:\Folder1\*;C:\Folder2\*
will work.
However, the prefilter is not applied in the Tree (is it applied correctly in the List tho). I guess this is a bug.

Re: NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 19:40
by admin
I never said that prefilters are applied in the Tree. And. the "prop:" filter also is not applied to the tree.

BTW, interesting color filter you got there.

Re: NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 19:59
by Marco
Mmh, you're right, I tested with another filter+prefilter and it actually is applied to the whole Tree, regardless of the prefilter. However, it seems an inconsistent behaviour to me. If CF are set to be applied to Tree and List, then I'd expect the Tree to mirror the List and viceversa, color-wise.

PS: oh yes, interesting and useful! You can see the files that, if moved, will involve another partition other than the system one, leading to slower operations.
PPS: CF involving this property are not as slow as you might think, actually. Scrolling the List is not as smooth as without filter, but the CF is applied basically instantly.

Re: NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 20:17
by admin
Marco wrote:However, it seems an inconsistent behaviour to me. If CF are set to be applied to Tree and List, then I'd expect the Tree to mirror the List and viceversa, color-wise.
Agreed, I will change that.

Re: NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 20:21
by Marco
Hope you'll change it so that the Tree mirrors the List, and so the prefilter is applied to the Tree too :wink:

Re: NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 20:29
by admin
Marco wrote:Hope you'll change it so that the Tree mirrors the List, and so the prefilter is applied to the Tree too :wink:
Sure. :)

Re: NOT operator in Color Filters involving properties

Posted: 16 Feb 2014 21:28
by Marco
Mmh, it still doesn't work very well. Now the prefilter is taken into account, however everything matching the prefilter is colored, regardless of the actual filter. Btw, a prefilter C:\folder1\* in the tree matches C:\folder1 too, unlike in the List (which should be taken as reference imo).

Re: NOT operator in Color Filters involving properties

Posted: 17 Feb 2014 10:16
by admin
Marco wrote:Mmh, it still doesn't work very well. Now the prefilter is taken into account, however everything matching the prefilter is colored, regardless of the actual filter. Btw, a prefilter C:\folder1\* in the tree matches C:\folder1 too, unlike in the List (which should be taken as reference imo).
1) Hm, works fine here. What's your color filter?
2) Fix comes.

Re: NOT operator in Color Filters involving properties

Posted: 17 Feb 2014 21:22
by admin
1) Confirmed. Fix comes.