Folder tree very slow to load

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

Moderators: XnTriq, xnview

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Fri May 21, 2010 7:42 pm

xnview wrote:You have no network drive?
Nope, no network drives. That does seem like a likely place for timeouts though.
I have 2 external drives, an empty DVD drive, a flash drive and a virtual dvd drive (I have tried disabling this to see if it is causing the delays, but no effect).
Is there any way to disable it looking for network drives to see if that is the problem?

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Sat May 22, 2010 3:14 am

Even more odd, if I have the Tree Pane turned off (View > Tree Pane > Show) then XnView starts up instantly (as it should). I can then toggle the tree pane open and it's already populated like normal (i.e. it's not just taking a long time to load while it's hidden). However, I get the long delay when exiting XnView instead. Weird.

View > Tree Pane > Shown
Startup = ~45 seconds
Shutdown = Instant

View > Tree Pane > (not) Shown
Startup = instant
Shutdown = ~45 seconds

Edit: Also, it doesn't matter what state the tree pane is when it shuts down, shut down time is only affected by whether it was open or closed when xnview started.

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

Re: Folder tree very slow to load

Post by xnview » Tue May 25, 2010 7:40 am

Very strange, could you try XnViewMP and tell me if you have same problem?
Pierre.

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Wed May 26, 2010 12:23 am

xnview wrote:Very strange, could you try XnViewMP and tell me if you have same problem?
XnViewMP 0.26.1 doesn't have that problem, and actually seems very quick. There's some slowdown when loading extremely large directories for the first time but that's somewhat expected. No freezes though!

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

Re: Folder tree very slow to load

Post by xnview » Wed May 26, 2010 9:13 am

gothate wrote:
xnview wrote:Very strange, could you try XnViewMP and tell me if you have same problem?
XnViewMP 0.26.1 doesn't have that problem, and actually seems very quick. There's some slowdown when loading extremely large directories for the first time but that's somewhat expected. No freezes though!
Strange, it's almost the same code (XnViewMP use thread to check subfolder)
If you start the browser on C: or D: for example, do you have the same problem?
Pierre.

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Wed May 26, 2010 11:54 am

I get the delay regardless of what drive or directory I start on. I can't seem to reproduce it in XnViewMP though.

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Folder tree very slow to load

Post by oops66 » Wed May 26, 2010 12:11 pm

Maybe you can also try to run XnView with the admin rights, ( Xnview seems to work better with it on Windows seven).
Do you have a difference with or without Admin rights ?
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

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

Re: Folder tree very slow to load

Post by xnview » Wed May 26, 2010 2:36 pm

gothate wrote:I get the delay regardless of what drive or directory I start on. I can't seem to reproduce it in XnViewMP though.
No i means to start XnView 1.97 on the root of your drive
Pierre.

User avatar
foxyshadis
Posts: 382
Joined: Sat Nov 18, 2006 8:57 am

Re: Folder tree very slow to load

Post by foxyshadis » Thu May 27, 2010 4:33 am

Check your Network folder. Sometimes shares and printers from long-gone PCs are stored there and some programs pick them up. I haven't seen it happen on 7 yet, just XP, but it's a possibility. If I click on the Network in the folder pane when I open XnView, I get the long hang too.

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Fri May 28, 2010 5:40 am

xnview wrote:
gothate wrote:I get the delay regardless of what drive or directory I start on. I can't seem to reproduce it in XnViewMP though.
No i means to start XnView 1.97 on the root of your drive
Install it in the root, like C:/xnview you mean? I could try that

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Fri May 28, 2010 5:44 am

oops66 wrote:Maybe you can also try to run XnView with the admin rights, ( Xnview seems to work better with it on Windows seven).
Do you have a difference with or without Admin rights ?
Right click > Run as Administrator didn't do anything different, still had the same delay.

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

Re: Folder tree very slow to load

Post by xnview » Fri May 28, 2010 8:03 am

gothate wrote:
xnview wrote:
gothate wrote:I get the delay regardless of what drive or directory I start on. I can't seem to reproduce it in XnViewMP though.
No i means to start XnView 1.97 on the root of your drive
Install it in the root, like C:/xnview you mean? I could try that
No start the browser of XnView with D:\
Pierre.

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Fri May 28, 2010 5:36 pm

xnview wrote:No start the browser of XnView with D:\
I actually tried starting it in C:, D:, F: (flash drive) and H: (external drive), none of them had any effect. :(


Ssettings:
Options > General > Operations tab
- Launch browser at startup (checked)
- Startup directory (last used)

Procedure:
Navigate to D:, close Xnview, restart.

I also tried setting specified startup directory and "D:\", but same problem still.

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

Re: Folder tree very slow to load

Post by xnview » Mon May 31, 2010 12:48 pm

Could you try to rename the XnView folder located in 'Application Data'?
Pierre.

gothate
Posts: 20
Joined: Wed Dec 22, 2004 2:16 am

Re: Folder tree very slow to load

Post by gothate » Tue Jun 01, 2010 10:46 pm

xnview wrote:Could you try to rename the XnView folder located in 'Application Data'?
Has the same effect as a new install, but no effect on the delay. Are there possibly windows DLLs that xnview uses that could be affected by other software?

Post Reply