NOT operator in Color Filters involving properties

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

NOT operator in Color Filters involving properties

Post 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)?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: NOT operator in Color Filters involving properties

Post 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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: NOT operator in Color Filters involving properties

Post 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.

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: NOT operator in Color Filters involving properties

Post 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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: NOT operator in Color Filters involving properties

Post 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.

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: NOT operator in Color Filters involving properties

Post 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:
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: NOT operator in Color Filters involving properties

Post 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. :)

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: NOT operator in Color Filters involving properties

Post 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).
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: NOT operator in Color Filters involving properties

Post 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.

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

Re: NOT operator in Color Filters involving properties

Post by admin »

1) Confirmed. Fix comes.

Post Reply