Keyboard navigation delayed in browser folder tree

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
Rotareneg
Posts: 2
Joined: Sat Jan 17, 2009 6:14 am

Keyboard navigation delayed in browser folder tree

Post by Rotareneg » Sat Jan 17, 2009 6:26 am

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.)

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh » Sat Jan 17, 2009 6:44 am

I think this is the setting:
[Browser]
NoDelayedPreview=1

pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Post by pic_viewer » Sat Jan 17, 2009 8:10 am

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.

Rotareneg
Posts: 2
Joined: Sat Jan 17, 2009 6:14 am

Post by Rotareneg » Sat Jan 17, 2009 9:19 pm

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.

User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Post by Olivier_G » Sun Jan 18, 2009 12:00 am

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.
Olivier

pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Post by pic_viewer » Mon Jan 19, 2009 3:11 am

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).

User avatar
xnview
Author of XnView
Posts: 31881
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Mon Jan 19, 2009 9:07 am

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
Pierre.

Post Reply