Page 1 of 1

Keyboard navigation delayed in browser folder tree

Posted: Sat Jan 17, 2009 6:26 am
by Rotareneg
This is with XnView 1.95.4 (and older versions as well) on XP SP3.

When I use the up and/or down arrow keys to navigate through folders in the folder tree there is a approximately one second delay before the contents of the currently selected folder show up. If I click on a folder with the mouse the contents will immediately begin loading (pretty much instantly if it's been cached.)

Posted: Sat Jan 17, 2009 6:44 am
by marsh
I think this is the setting:
[Browser]
NoDelayedPreview=1

Posted: Sat Jan 17, 2009 8:10 am
by pic_viewer
That doesn't change the (elsewhere already noted) very slow folder tree performance of XnView. The cursor on the folder should move with the standard Windows keyboard repeat rate. It should not wait for the loading of the thumbnails at all.

Posted: Sat Jan 17, 2009 9:19 pm
by Rotareneg
The cursor on the folder should move with the standard Windows keyboard repeat rate. It should not wait for the loading of the thumbnails at all.
Just to make it clear here, the cursor (I.E. the highlighted folder) itself moves instantly when there's a keypress and moves rapidly as expected if the key is held. It's the thumbnail display that is delayed. When clicking on folders with the mouse the thumbnails display will instantly switch and begin loading the folders contents, but when using the keyboard there is a one second delay before the thumbnail window reacts.

Posted: Sun Jan 18, 2009 12:00 am
by Olivier_G
I think this 1s delay is not necessary if responsiveness is properly managed, ie: whatever the user do, its' latest action is taken into account immediately and stops whatever was the previous job.

Or: every function should be on interruptable thread.

Posted: Mon Jan 19, 2009 3:11 am
by pic_viewer
Rotareneg wrote:(I.E. the highlighted folder) itself moves instantly when there's a keypress and moves rapidly as expected if the key is held.
No, it does not move rapidly when the key is held down. It stumbles slowly through the tree. Most probably because it waits on some reaction in the thumbnail window.

It will only move rapidly when there is not much to display in the thumbnail window (less than 50 pics). It gets really worse when the folder has subfolders with more pics (delay here up to one second).

Posted: Mon Jan 19, 2009 9:07 am
by xnview
Rotareneg wrote:
The cursor on the folder should move with the standard Windows keyboard repeat rate. It should not wait for the loading of the thumbnails at all.
Just to make it clear here, the cursor (I.E. the highlighted folder) itself moves instantly when there's a keypress and moves rapidly as expected if the key is held. It's the thumbnail display that is delayed. When clicking on folders with the mouse the thumbnails display will instantly switch and begin loading the folders contents, but when using the keyboard there is a one second delay before the thumbnail window reacts.
There is a little delay when you move with keyboard to be able to move quickly... Timer was of 1sec (too long), i'll change in beta 3 for 400ms