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

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Litr
Posts: 67
Joined: Wed Oct 12, 2011 9:26 pm

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

Post 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
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

I think that it's the time to get full file list. Windows explorer opens it quickly?
Pierre.
Litr
Posts: 67
Joined: Wed Oct 12, 2011 9:26 pm

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

you can change in xnview.ini

Code: Select all

debug=2
and send me where in the logs you have the delay?
Pierre.
Post Reply