Opening Categories in "View" "Panels" freezes Imatch

Started by jarraun, September 22, 2019, 09:02:06 PM

Previous topic - Next topic

jarraun

Hi Mario,

Imatch_licensed_2019_8_4_x64 here.

After some modifications in my Categories tree, every time I try to open the categories panel from "View"\"Panels" Imatch freezes with blue wheel spining forever. If I run Database Diagnostics it passes Validation, Files and Folders but when it reaches categories again freezes.

Reinstalled Imatch without succes, every other functions seem to work properly. Very strange. :-\

Please help.

Javier


Mario

Try to reset your workspace.
Maybe something is causing the 3rd party tree control to fall into an infinite loop while trying to load your category tree.
I recall a similar case.

If you have only one workspace: Close IMatch. Hold down <Ctrl> and start it again. Keep <Ctrl> pressed until you see the Advanced Startup Options (Recovery) dialog. Reset the workspace.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

JohnZeman

Just as a side comment, it's not unusual for this to happen to me when I'll switch to Category View but in my situation nothing is wrong.

I have quite a number of formula and data-driven categories and sometimes, not always, when I switch to category view it can take IMatch a minute or 2 to do its under the hood housekeeping.  When that happens I just use ALT+TAB to switch to another program for a couple minutes then when I come back IMatch has finished and is waiting for me to do whatever I'm going to do.

jarraun

Thank you Mario and Jhon,

Reset Workspace was no usefull for the problem.
I finally restored my database to a previous version and at the moment everything is working fine.

Cheers, Javier

Mario

Quote from: JohnZeman on September 23, 2019, 01:19:04 AM
I have quite a number of formula and data-driven categories and sometimes, not always, when I switch to category view it can take IMatch a minute or 2 to do its under the hood housekeeping.

IMatch calculates categories on-demand. For example, if you show category counts, it must calculate all visible categories in the panel to show the counts (recursively of course).
It does that in the background (asynchronously) so it usually does not block the pane or interferes with your use of IMatch l.
Unless there is so much to do and information is required 'right now!', which may require the panel to block until the information has been retrieved.

If you have produced categories with complex formulas or vast data-driven categories, you may want to set some of them to manual or 'hide' them under a usually collapsed category. Collapse categories not needed etc.

1 or 2 minutes seems awfully slow.
What kind of machine do you use, is the database on a SSD, how large it is (# of images)?
When you look at a log file in debug mode and search for #sl, which categories are reported?
There is a special warning to indicate categories which are extremely slow to calculate.

It is easy to shot yourself in the foot by utilizing all of the data-driven and formula-based features. Of course it works, but it might slow down IMatch considerably.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook