Page 1 of 3
Folder tree very slow to load
Posted: Wed May 05, 2010 1:07 am
by gothate
Hey, I haven't seen this issue on the forums. For some reason, recently Xnview has been freezing for about 45 seconds when I start it up in Browse mode, or go to browse mode from a picture. It will show about 11 folders/items immediately, and then hang for 45 seconds and then the rest of the folders will appear. After that initial loading everything seems fine and quick.
This happens with a clean install of xnview, and fresh preferences.
Windows 7
Xnview 1.97.2
It didn't do this a couple months ago so I'm wondering if I installed something that is messing it up?
Re: Folder tree very slow to load
Posted: Wed May 05, 2010 3:45 am
by XnTriq
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=84025#p84025]crash when opening folder on D drive[/url]) wrote:bobby70 wrote:But there is an issue whenever the file browser within XnView comes into play. When I click around in the folder structure, sooner or later XnView will "hang". Hourglass symbol is visible, XnView window frozen, program is not using CPU time any more, no response any more, apparently in some kind of "wait" state. Contrary to what I believed first, this issue isn't limited to partition D, but may also show on other partitions.
This can occur, if XnView tries to generate a thumbnail for an HTML file which has images embedded in it whose URLs are pointing to MSIE's
Internet Security Zone.
Re: Folder tree very slow to load
Posted: Thu May 06, 2010 11:58 am
by xnview
If you start XnView in browser mode, you have such freeze?
Re: Folder tree very slow to load
Posted: Fri May 07, 2010 8:03 am
by gothate
xnview wrote:If you start XnView in browser mode, you have such freeze?
Yeah, it freezes if I start it in browse mode, and if I start it in view mode and switch to browse the first time.
@XnTriq: I'll try and see if there's some sort of HTML file somewhere hanging it up, it happens very consistently and regardless of the start folder.
Re: Folder tree very slow to load
Posted: Mon May 10, 2010 7:46 am
by xnview
Could you try to rename xnview.ini, xnview.db & categroy.db?
Re: Folder tree very slow to load
Posted: Sat May 15, 2010 6:37 am
by gothate
Okay, tried renaming all of those files but it didn't seem to have any effect. Also Xnview has not recreated any of those files either after they were renamed.
Re: Folder tree very slow to load
Posted: Mon May 17, 2010 7:53 am
by xnview
gothate wrote:Okay, tried renaming all of those files but it didn't seem to have any effect. Also Xnview has not recreated any of those files either after they were renamed.
In windows explorer, it's not long?
Re: Folder tree very slow to load
Posted: Mon May 17, 2010 5:21 pm
by gothate
Not sure what you mean? Windows Explorer by itself is very quick.
Re: Folder tree very slow to load
Posted: Tue May 18, 2010 9:00 am
by xnview
gothate wrote:Not sure what you mean? Windows Explorer by itself is very quick.
And if you start in an empty folder?
Re: Folder tree very slow to load
Posted: Tue May 18, 2010 5:55 pm
by gothate
I opened it at the root of C: which has no images, but regardless of which folder it starts I have the same issue (also tried various other folders, including completely empty ones). I took some screenshots, perhaps they will help? The first screenshot is when it is loading the folder tree. The second is after it has finally loaded _45 seconds later.
http://img156.imageshack.us/i/xnview1.png/
http://img443.imageshack.us/i/xnview2.png/
Re: Folder tree very slow to load
Posted: Tue May 18, 2010 6:07 pm
by oops66
gothate wrote:Okay, tried renaming all of those files but it didn't seem to have any effect. Also Xnview has not recreated any of those files either after they were renamed.
FI: Maybe you have deleted (renamed) these files but in a wrong folder (not the active one for xnview) , maybe ?
(xnview.ini, xnview.db & category.db)
Re: Folder tree very slow to load
Posted: Wed May 19, 2010 6:49 pm
by gothate
oops66 wrote:FI: Maybe you have deleted (renamed) these files but in a wrong folder (not the active one for xnview) , maybe ?
(xnview.ini, xnview.db & category.db)
Hmm. I renamed all the files in the C:\Users\*username*\AppData\Roaming\XnView directory.
My Xnview options are currently:
Options > System Integration > Save options > *as INI in folder - XnView
When I changed it to
Options > System Integration > Save options > *as INI in folder - User
it saved the xnview.ini file in the aforementioned directory. Which leads me to think that maybe the files I renamed in there were just left over from a previous installation. However, I have no idea where the "as INI in folder - Xnview" setting actually puts the INI, since I don't see it in the Program Files/Xnview directory. It does however still remember settings between sessions, so it's saving them
somewhere.
Re: Folder tree very slow to load
Posted: Wed May 19, 2010 8:30 pm
by oops66
Hello,
If you rename the good files, so they should be recreated after the next xnview restart, if not, these files are not the good ones.
...My Xnview options are currently:
Options > System Integration > Save options > *as INI in folder - XnView ...
So with xp the files are usually located here : C:\Program Files\xnview\
FI: For Windows seven, I don't know but you can try to find them with the windows file manager with the search function ...
Re: Folder tree very slow to load
Posted: Thu May 20, 2010 12:49 am
by gothate
Okay, I found where it keeps the files if you have it set to
Options > System Integration > Save options > *as INI in folder - XnView. The files are kept in:
C:\Users\*username*\AppData\Local\VirtualStore\Program Files\XnView
This webpage explains why (if you're curious):
http://zone.ni.com/devzone/cda/tut/p/id/5538#toc3
For example, take a legacy software application that attempts to write to a configuration INI file located in:
C:\Program Files\<application>\Setup.ini
Windows Vista automatically detects that you do not have permission to save to that location. Windows Vista then copies the file (if it already exists) to:
C:\Users\<your_account>\AppData\Local\VirtualStore\Program Files\<application>\Setup.ini
Windows Vista then allows the write operation to succeed at the new file in the VirtualStore folder. Subsequent read and write operations for that file will always use the file copy located in the VirtualStore folder. However, the application will continue to believe that it is accessing the Program Files directory (see Figure 4).
I did rename all 3 files and upon the next startup of xnview it behaved like a first startup, but the delay is still there.
Re: Folder tree very slow to load
Posted: Thu May 20, 2010 1:18 pm
by xnview
gothate wrote:
I did rename all 3 files and upon the next startup of xnview it behaved like a first startup, but the delay is still there.
You have no network drive?