Active Filter Breaks Search Engine

Started by Darius1968, June 05, 2021, 09:43:25 AM

Previous topic - Next topic

Darius1968

I've attached - here - a log file that demonstrates competition/conflict between the Search Engine and the Filter Panel: 

Specifically, I launch IMatch, and open my DB.  After it has loaded, I enter a search term into the Search Bar - "NOT (nelson OR _family OR _social OR videos)" (Parameters:  Search Everywhere, Advanced Search, Regex). 

Being that I'm in Timeline Mode, all is well, jumping around to different dates, the search always being honored.  However, when I apply a filter, to show only Portrait-Dimensions, I find that when I now jump to a different date, the search is now broken, with only the filter for the Portrait-mages remaining active, and I have to manually reinstate the search, by clicking in the search bar, to hit the "ENTER" key, on my keyboard.  Is this a bug? 

Mario

Only in the Timeline View or also in other Views?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Darius1968

This 'Bug' is reproducible in the other views, as well. 

Mario

I search for part of the file name.
I activate a filter based on rating. Or label. Or orientation.
I click on several folders. And categories. And collections. And timeline nodes.
Both the filter and the search term is applied correctly.
The File Window shows only files matching the active filter and the search term. This is the expected result.

Anything you do different? Any detail may matter.
Because, this was never been reported before and I cannot reproduce it.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Darius1968

Well, I've just finished several hours of trying to troubleshoot this issue, and all I can find - so far - is that when I click on a node - regardless of which view I'm in, if the total file count is roughly 350 (or less), both filters (search bar, filter panel) work, as expected.  However, for whatever reason, when the node has larger file counts (400 and above), then the filter panel works fine, but the filter for the search bar has been turned off, until I reinstate the search manually.  So what to do now?  Has my log file said anything? 

Mario

Strange.

I've repeated my tests with folders/categories containing up to 10,000 files.
Same behavior, filter and search bar are automatically applied when I switch between folders, categories or timeline nodes.
I've tried various filters (rating, label, date, orientation, file properties) and various search settings. Always worked.

Do you use auto pause and does it kick in?
Hierarchical display mode?
Stacked files visible on or off?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Darius1968

Auto pause is always deactivated.  With respect to show/hide stacked files and show hierarchy:  Regardless of any combination of the possible settings, there's no effect on behavior - It's still the same situation, volatile functioning of the search bar. 

Mario

Then this seems to be something pretty unique, which makes it very hard to track down. I have done what I could.
I cannot repro this on two computers.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Darius1968

FWIW, when I click on whichever node that breaks the 'seal' of the search-bar-search-engine, changing to a different sort preset would have no effect.  If, however, I change the file window layout (even just by clicking on the one, which is already active), the search - according to the text entered into the search bar - is once again, reinstated!