Sluggish keyboard navigation

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
jdp1024
Posts: 20
Joined: Thu Feb 06, 2025 1:44 am

Sluggish keyboard navigation

Post by jdp1024 »

In Browse mode, under a folder which contains about 2000 8k-resolution pictures optimized with ImageOptim. When I use arrows keys or PageUp/PageDown in XnView MP to navigate in the file list, XNView MP responds slowly. The selection switched to the next file after 0.x seconds, not immediately.

I have turned off the Preview and all Info Panels, the file thumbnail is already generated. Each time I press the arrow key, in Task Manager, I can see a CPU usage boost, just like XNView MP is decoding the file (but I think it doesn't need to do that).

If I use keyboard navigation in a folder containing only small image files, the navigation is smooth and the CPU usage is low, but there is still a CPU usage peak.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sluggish keyboard navigation

Post by xnview »

i've tried and right, the delay to load this jpeg file is slower than standard jpeg. Loading in other apps is the same.
Pierre.
jdp1024
Posts: 20
Joined: Thu Feb 06, 2025 1:44 am

Re: Sluggish keyboard navigation

Post by jdp1024 »

xnview wrote: Sat Feb 15, 2025 2:29 pm i've tried and right, the delay to load this jpeg file is slower than standard jpeg. Loading in other apps is the same.
If only the header is parsed, there should be no difference. I guess not only the header is parsed, but also the jpeg is decoded, and this should not happen if there is no need to do that since I closed all info panels.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sluggish keyboard navigation

Post by xnview »

oh sorry, the preview is hidden but picture file is always loaded for histogram
Pierre.
jdp1024
Posts: 20
Joined: Thu Feb 06, 2025 1:44 am

Re: Sluggish keyboard navigation

Post by jdp1024 »

xnview wrote: Sat Feb 15, 2025 2:42 pm oh sorry, the preview is hidden but picture file is always loaded for histogram
I have closed the histogram panel (in fact, all panels are closed). Perhaps you can skip file decoding if the decoded bitmap is not needed.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sluggish keyboard navigation

Post by xnview »

jdp1024 wrote: Sat Feb 15, 2025 2:49 pm I have closed the histogram panel (in fact, all panels are closed). Perhaps you can skip file decoding if the decoded bitmap is not needed.
so you use XnView's browser only as file's list? In this case, yes it would be good to not load image file
Pierre.
jdp1024
Posts: 20
Joined: Thu Feb 06, 2025 1:44 am

Re: Sluggish keyboard navigation

Post by jdp1024 »

xnview wrote: Fri Feb 21, 2025 7:42 am
jdp1024 wrote: Sat Feb 15, 2025 2:49 pm I have closed the histogram panel (in fact, all panels are closed). Perhaps you can skip file decoding if the decoded bitmap is not needed.
so you use XnView's browser only as file's list? In this case, yes it would be good to not load image file
Yes, I use the browser mode as a file list (a browser). When a panel is closed (or hidden, invisible), the CPU time can be saved if the data is not read/extracted/decoded. :D
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sluggish keyboard navigation

Post by xnview »

ok, i'll check to change that
Pierre.
Post Reply