Page 1 of 1

UI is unresponsible if opened from a folder with a large number of images

Posted: Tue Feb 27, 2024 11:35 am
by Litr
I dont think it is a new bug, i have noticed it for a while. But it is annoying.

I have like 95000 of UHD photos in one folder and when i launch XnView MP from there by clicking on some file the UI and image inside it appears instantly but the whole UI hangs and something is happening in the background as i can briefly see "busy" cursor.

It is like 2-2.5 second but i cannot even close window in these moments (both with ESC key or with a "close window" button).
Funny thing is that my actions (ESC or "close window" button) are registered instantly but will be executed only after UI becomes responsible.

1) XnView MP is not opened
2) Folder with a lot of UHD files (i dont think that is related to the image size AND amount of files, but just to the amount of files but i cannot prove it)
3) Launch XnView MP by clicking on some file
4) XnView MP is fully opened very fast, but UI hangs for 2-2.5 seconds

Re: UI is unresponsible if opened from a folder with a large number of images

Posted: Sat Mar 09, 2024 9:42 am
by xnview
I think that it's the time to get full file list. Windows explorer opens it quickly?

Re: UI is unresponsible if opened from a folder with a large number of images

Posted: Sun Mar 10, 2024 2:57 pm
by Litr
xnview wrote: Sat Mar 09, 2024 9:42 am I think that it's the time to get full file list. Windows explorer opens it quickly?
Windows explorer can show files in the root folder (where the majority of files are located) instantly, but it struggles to show all sub-folders for a couple of seconds (that green progress bar appears over the address bar, i am using Windows 10 without indexing enabled). But the Exporer's UI does not hangs and i can even click on some files or close it right here.

Re: UI is unresponsible if opened from a folder with a large number of images

Posted: Wed Mar 13, 2024 9:24 am
by xnview
you can change in xnview.ini

Code: Select all

debug=2
and send me where in the logs you have the delay?