photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Lucio.B on June 02, 2025, 03:01:03 PM

Title: File window scrolling very very slow
Post by: Lucio.B on June 02, 2025, 03:01:03 PM
Hi,
I find myself with the issue in subject.
File windows often hangs for 2 to 12 second at each picture scroll, it doesn't happen at every scroll but very often.
As suggested I've excluded from Windows Defender check the folders <Imatch database>, <Imatch cache> and imatch.exe but nothing has changed.
When I scroll the blue icon of the background processing appears and any further scrolling doesn't go on until that icon goes off and it takes seconds
Database and cache are stored on C:\ that is an NVME drive, picture files are stored mainly on A:\ that is an NVME drive, some more files are on a hard drive but I don-t access them very often, oldies.
 Any further action I could take?
Regards
Title: Re: File window scrolling very very slow
Post by: Mario on June 02, 2025, 03:46:59 PM
Which File Windows Layout are you using?
How do you scroll? Mouse, keyboard? If you scroll by using the cursor keys, the focus changes while you scroll, and the FR has to update all panels while scrolling, which will slow things down.

Which other panels are open?

Typically you can even scroll File Windows with 10,000 files as fast as your wheel or PageDn/PageUp works.

The File Window may lag occasionally when IMatch is busy e.g. indexing new files, reading metadata or running fac3e recognition and the PC is super-busy. Another reason, but rarely, may be a too "expensive" user-made File Window layout which requires tons of variables and stuff. 

The File Window loads file and metadata as you scroll from the database. If the data cannot be loaded fast enough, scrolling will be slow. There are no telemetry or log entries for this, though, because it is usually never an issue. A virus checker scanning the database on every access could produce such slow scrolling.

The first slow operation logged in your log file is the initial load of the database and IMatch UI initialization, which is logged as 20s. A bit on the slow side for a 120K database, but OK.

The second and last slow operation logged is a File Delete (which include the time prompt was shown).

So, nothing unusual and no hint about why scrolling would be slow. No related reports from other users. 
More details needed, see my questions above.
Title: Re: File window scrolling very very slow
Post by: Lucio.B on June 08, 2025, 09:08:30 AM
>Which File Windows Layout are you using?
<Attached a screenshot of the layout I generally use.

> How do you scroll? Mouse, keyboard? If you scroll by using the cursor keys, the focus changes while you scroll, and the FR has to update all panels while scrolling, which will slow things down.
<I generally scroll using the arrows but if I use the mouse wheel things don't change.

> Which other panels are open?
<I keep quick view open, Keywords, Categories. Does the size of the Quick view window matter? Does it impact scrolling performance?

> The File Window may lag occasionally when IMatch is busy e.g. indexing new files, reading metadata or running fac3e recognition and the PC is super-busy. Another reason, but rarely, may be a too "expensive" user-made File Window layout which requires tons of variables and stuff.
<That's ok i noticed that

In fact i've noticed that if I switch to "Index layout" things turn out better.

Regards.



Title: Re: File window scrolling very very slow
Post by: Mario on June 08, 2025, 10:18:35 AM
There is nothing that should slow down scrolling. Only standard stuff.

When you switch to one of the "thumbnail" only layouts (which don't have to load metadata), do they also scroll slow?
I'm looking for an angle here, since no other user reported anything similar.

Scrolling with the cursor keys is slower, because you move the focused to different files. This means that IMatch has to update all open panels, including loading the image into the Quick View Panel, updating the categories panel, whatever is open.

Scrolling with the wheel or the scroll bar just changes the position in the File Window, but does not change the focused file.
I've just scrolled down a folder with 280 files in a File Window using the "Default" layout, with 6 images visible. Quick View Panel and Categories Panel open.

It takes about 3 seconds to scroll from the first to the last file using the <cursor down>. The Quick View Panel only updates occasionally, because it senses that loading an image would be fruitless while scrolling is in effect.
Using the wheel or the scroll bar is super-fast, sub-second.

Try other File Window layouts to see if the layout has an effect. Close all panels. Then re-open them one by one and do your scroll test. Maybe you can find out which panel is slowing things down. I tried all expensive (to update) panels, but it does not have much of an impact, even when I use the cursor keys for scrolling.