Value Filter display in Filter Panel

Started by cg, August 15, 2022, 06:41:35 AM

Previous topic - Next topic

cg

Not sure if this is a feature request or a bug report...

Would it be possible to display a Value Filter's selected metatag in the filter panel when iMatch starts? This state is saved, but until I click the arrow to open and close each Value Filter, it doesn't display in the panel.

The attached images show the Filter Panel on startup, and after I open and close the arrows next to each Value Filter (without changing anything).

Also, I notice that when I restart iMatch with one or more value filters selected, the filters don't actually affect the file window until I click on the arrow next to them to open the opens, even if I don't change any values. This doesn't seem to be the case with other filters. Is this by design?

Thank you!


Mario

#1
QuoteWould it be possible to display a Value Filter's selected metatag in the filter panel when iMatch starts?

The Value filter is probably the most expensive filter in the filter panel.
The user interface requires to load the tag list, to run a query to determine the unique values for the selected tag for all files in the current scope, creating the list from the results etc.
If your database is large (typically IMatch users manage between 100,000 and 300,000 files per database) and/or the scope is huge, it can take quite a while to populate the filter.

Hence IMatch postpones the expensive part until the filter is actually expanded.
When the filter is expanded, IMatch "knows" the tag the filter is using (before it uses a stored query only) and then can update the filter caption bar with the tag name.

I haven't worked on the this part of IMatch for quite some time and I don't know at the moment if this could somehow be implemented without loading the actual panel data. Feel free to open a feature request if you consider this important.

Quotewhen I restart iMatch with one or more value filters selected, the filters don't actually affect the file window until I click

I could not reproduce this with one value filter, only with two and then randomly. Value filters are very special in many ways, so...
Does a click on the "Apply" button or <Ctrl>+<Shift>+<F6> fix the problem for you?
Expanding a filter will do the same, re-applying the value filters with the freshly loaded values.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

I have added an enhancement for the next release: The tag name is now displayed even if the panel has not been expanded at least once.

I could not reproduce the "value filter not being applied" issue you report.
Do you have a specific list of steps of combination of filters and scope (size) which allows me to reproduce this?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

cg

Thank you, Mario!

Yes, it seems to happen when iMatch starts up and the file window reflects a collection marked with a Red/Green/Blue dot, a Flag, or a Red/Green/Blue Pin (though not Recently Added).

There are around 2500 images in my Red Dot collection, I'm using a Value Filter: "City" (Files with value/Invert the result) and there are only 15 or so images displayed in the file window. All 2500 show up when iMatch starts, but when open the Value Filter arrow, it applies the filter.

The filter IS applied at startup to Media & Folders and Timeline. It seems to be an issue with selected Collections from Dots, Flags, and Pins.