Page 1 of 2

Filter by drop-down menus on each column

Posted: 13 Sep 2021 14:24
by Geoffrey
The ideal would be to be able to filter files via an elaborate filter with drop-down menus on each column.

Re: Filter by drop-down menus on each column

Posted: 13 Sep 2021 19:07
by admin
For example?

Re: Filter by drop-down menus on each column

Posted: 16 Sep 2021 08:33
by Geoffrey
For example, select only "24V" for "Critère 2" and "1 pompe" for "Critère 3".

Is it possible in the filter with text formule but it will be the top if it would be possible directly by one click of th mouse.

Re: Filter by drop-down menus on each column

Posted: 16 Sep 2021 09:11
by admin
You mean a right-click into this cell will pop a menu with a command to filter the list by "Critère 3: 1 pompe"?
Example (1)b.PNG
Example (1)b.PNG (33.25 KiB) Viewed 5015 times
Probably not a bad idea... :tup:

Re: Filter by drop-down menus on each column

Posted: 16 Sep 2021 10:45
by xy123
He is probably talking about Windows Explorer feature:

Image

It's dynamic, ie. in "Date modified" there wouldn't be "Today" if I haven't made that zNew file.
Also there is that very useful "Search again in: Subfolders" after you select some filter.
I'm on Win7 so you should check on Win10 if they have improved it further.

Re: Filter by drop-down menus on each column

Posted: 16 Sep 2021 11:55
by admin
It's a cool feature, but obviously it would be a major effort to add it. I'll keep it in my mind for later.

BTW, XY's filter architecture (Visual as well as Live filters) currently only supports certain file properties but not all columns, especially not Custom Columns. So currently there is no way at all to filter a list by these columns. You can however search a location by Custom Column contents which is *kind* of a filter.

Re: Filter by drop-down menus on each column

Posted: 19 Sep 2021 13:11
by admin
Well, I changed XY's filter architecture (3 days in the code mine), and now it should work: Ctrl+Right-Click the cell you are interested in and click "Set as Live Filter". Now the list only shows items with the same value in that column.

Re: Filter by drop-down menus on each column

Posted: 19 Sep 2021 23:02
by jupe
Just as an FYI, this doesn't seem to work in the "Type" column. (using the prop selector to do it works though still), also is it supposed to work for Special Property columns eg. "Tag Artist" ? from the changelog I get the impression it is, but just wanted confirmation, because strangely for me it works for some special properties eg. "Dimensions", but not others (like any of the audio specific ones, which do now work via QSrch using the new selectors though), hence the question.

Re: Filter by drop-down menus on each column

Posted: 20 Sep 2021 16:01
by admin
Yes, all confirmed. Should be fixed in v22.20.0214.

Re: Filter by drop-down menus on each column

Posted: 20 Sep 2021 22:08
by jupe
While testing I noticed that when using the column name selectors, "Frame width", "Frame height", "ISO Speed", "Camera Model", "Bit Depth" and "Date Taken" they don't seem to work via LF still, but everything else seems too so far. Also if I accidentally input a "[" char within the selector prefix in the livefilter, I get a couple error 93 invalid pattern string ladybug dialogs.
I can foresee this new feature being very handy, nice work. :beer:

Re: Filter by drop-down menus on each column

Posted: 21 Sep 2021 08:57
by admin
Again, all confirmed. Should be fixed in v22.20.0217.

Re: Filter by drop-down menus on each column

Posted: 22 Sep 2021 10:35
by Geoffrey
Hello,

Yes, what i think is near of the post of XY123.

For Ctrl+Right click, i'll test this .

Thank you.

Re: Filter by drop-down menus on each column

Posted: 23 Sep 2021 01:51
by jupe
What do you think about a shift click to invert the filter?, and maybe Ctrl+Shift to boolean AND it with the current LF (if there is one) instead of replace it?

Re: Filter by drop-down menus on each column

Posted: 23 Sep 2021 08:34
by Horst
jupe wrote: 23 Sep 2021 01:51 What do you think about a shift click to invert the filter?, and maybe Ctrl+Shift to boolean AND it with the current LF (if there is one) instead of replace it?
Good suggestion.
The only problem is that all this shortcuts have to be find or remebered.
Adidional entries in the View menu which also show the shortcuts may help.

Re: Filter by drop-down menus on each column

Posted: 23 Sep 2021 08:55
by admin
Yeah, that's good. :tup:

But invert (= prefixed !) needs this to be checked: Configuration | Find and Filter | Filters & Type Ahead Find | Live Filter Box | Enable extended pattern matching
So the invert functionality would only be available if "Enable extended pattern matching" is enabled, otherwise the action would trigger nothing. Hence I would rather add "Invert" to the context menu of the Information Bar (disabled if not available).

[Ctrl]+Shift to boolean AND looks perfect to me. (The necessity of Ctrl depends on that other setting: Hold Ctrl to show cell context menu)
Rubbish. Of course, you meant Shift *after* the menu has popped.
Then we could do:
Shift for boolean AND
Ctrl for boolean OR
or vice versa, not sure