Global Visual Filter - Your Usage
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
That's why I introduced the nec: prefix. See help... 
FAQ | XY News RSS | XY X
-
grindax
Re: Global Visual Filter - Your Usage
.
Last edited by grindax on 27 Jan 2016 21:06, edited 1 time in total.
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
Yes, the line in help is misleading.
In my first version of this feature I auto-fixed "nec:" internally to all GVFs, so all was easier for the user and the help line was alright. But then I thought: "give more freedom to the user" and allowed GVFs without nec:. Hmm, right now I think that was probably a mistake. Why would you ever want a GVF OR-ed with a VF? Hardly ever...
In my first version of this feature I auto-fixed "nec:" internally to all GVFs, so all was easier for the user and the help line was alright. But then I thought: "give more freedom to the user" and allowed GVFs without nec:. Hmm, right now I think that was probably a mistake. Why would you ever want a GVF OR-ed with a VF? Hardly ever...
FAQ | XY News RSS | XY X
-
grindax
Re: Global Visual Filter - Your Usage
.
Last edited by grindax on 27 Jan 2016 21:06, edited 1 time in total.
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
Everybody happy if I auto-fix "nec:" internally to all GVFs?
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
Anybody unhappy if I auto-fix "nec:" internally to all GVFs?
(Last call)
(Last call)
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
OK, thanks.
Next version will change the behavior to the better.
Next version will change the behavior to the better.
FAQ | XY News RSS | XY X
Re: Global Visual Filter - Your Usage
Was the global addition of nec: to all GVF added?
I've looked over the documentation and I don't understand how to do an "A OR B" in a GVF.
I essentially want the global filter to only show me .URL OR .LNK files.
nec:*.url;*.lnk (I think this means AND)
Then I use the regular visual filters to then look for links with certain tags or combinations of tags.
This is the documentation I'm trying to understand:
Tip for understanding: nec and no mean to AND this pattern with everything coming afterwards:
nec:a;b;c;d = a AND (b OR c OR d)
no:a;no:b;c;d = NOT a AND (NOT b AND (c OR d))
nec:a;b;nec:c;d = a AND (b OR (c AND (d OR e)))
I've looked over the documentation and I don't understand how to do an "A OR B" in a GVF.
I essentially want the global filter to only show me .URL OR .LNK files.
nec:*.url;*.lnk (I think this means AND)
Then I use the regular visual filters to then look for links with certain tags or combinations of tags.
This is the documentation I'm trying to understand:
Tip for understanding: nec and no mean to AND this pattern with everything coming afterwards:
nec:a;b;c;d = a AND (b OR c OR d)
no:a;no:b;c;d = NOT a AND (NOT b AND (c OR d))
nec:a;b;nec:c;d = a AND (b OR (c AND (d OR e)))
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
Combining two or more patterns in a GVF is currently not (really) supported.
Longer version (explaining the "really" above):
You have noted that this GVF works:
*.url;*.lnk
It will globally limit the views everywhere to URL and LNK files.
However, you cannot further filter those lists with a normal VF. So this is something I currently tolerate, but if I'd be strict then a GVF "*.url;*.lnk" should return nothing, since no file can match both filters at once. If now an additional normal VF is applied on top then the GVF pattern has to be interpreted in the strict way, with the result that your list will become completely empty.
I'm aware that this is inconsistent and hence potentially confusing, but if I made it consistent now you would lose something (ability to do *.url;*.lnk) and win nothing (but consistency).
Longer version (explaining the "really" above):
You have noted that this GVF works:
*.url;*.lnk
It will globally limit the views everywhere to URL and LNK files.
However, you cannot further filter those lists with a normal VF. So this is something I currently tolerate, but if I'd be strict then a GVF "*.url;*.lnk" should return nothing, since no file can match both filters at once. If now an additional normal VF is applied on top then the GVF pattern has to be interpreted in the strict way, with the result that your list will become completely empty.
I'm aware that this is inconsistent and hence potentially confusing, but if I made it consistent now you would lose something (ability to do *.url;*.lnk) and win nothing (but consistency).
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
OK, I decided that GVF is too good to be less than perfect. I will interrupt work on Preview 2.0 and rewrite GVF to perfection. You will be able to combine any number of patterns in a GVF and combine this with any number of patterns of a normal VF.
Rule: Item visible IF pass GVF AND VF.
Rule: Item visible IF pass GVF AND VF.
FAQ | XY News RSS | XY X
Re: Global Visual Filter - Your Usage
The new 16.2 build of XYplorer seems to work great in this regard! Thank you for the improvements!
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Global Visual Filter - Your Usage
I have to thank you. You kicked this off. It's really a great improvement. Killer feature! 
FAQ | XY News RSS | XY X
XYplorer Beta Club