Page 1 of 1

[SOLVED] Slow Start Due to Network Tabs

Posted: 06 Apr 2013 06:54
by Enternal
In the configuration I have set XYplorer to use generic icons for everything network related. I have even checked the configuration file. By doing so, catalog items and MiniTree that points to zombie network locations (I have a computer that is off and on frequently) does not slow down the startup. However, as far as I know, I cant do the same for tabs. I have one tab that points to that networked computer and when it is off, it slows down XYplorer's startup. Anyway to deal with remove removing that tab?

Re: Slow Start Due to Network Tabs

Posted: 15 Apr 2013 11:37
by admin
Cannot reproduce. Is it the current tab? Does it point to a server or a share or a folder on a share?

Re: Slow Start Due to Network Tabs

Posted: 16 Apr 2013 19:58
by Enternal
It's not the current tab. I always have the current tab to point to a local path. This tab points to a folder on a different computer:
\\MyServer\Public\SharedDocs\

Re: Slow Start Due to Network Tabs

Posted: 16 Apr 2013 20:06
by admin
Enternal wrote:It's not the current tab. I always have the current tab to point to a local path. This tab points to a folder on a different computer:
\\MyServer\Public\SharedDocs\
Strange. I cannot get any delay (neither with current nor non-current tab), if these two are ticked (or only the first one, of course):

Configuration | Refresh, Icons, History | Icons | Use generic icons for super-fast browsing
Configuration | Refresh, Icons, History | Icons | But only in network locations

Re: Slow Start Due to Network Tabs

Posted: 16 Apr 2013 20:26
by Enternal
Yes I have those two ticked as well. It's kind of odd then if you don't have any issues. If the computer is off, after the delay in starting XYplorer, the tab that points to that location have a "!" yellow symbol on it to show that it could not get the icon. So it should not try to retrieve the icon yet somehow it is even though the two settings are ticked.

I also checked in my ini file:

Code: Select all

GenericIcons=1
GenericIconsNetworkOnly=1
GenericIconsForAllControls=0
; Tweak: fast generic icons for net locs anywhere in the interface
GenericIconsForNetworkLocations=1
; Tweak: fast generic icons for Catalog items
GenericIconsForCatalog=0
ShowIconOverlays=1
ShowIconOverlaysOnNetwork=0
2013-04-16_111522.png
2013-04-16_111617.png
2013-04-16_112450.png
14 seconds to load right now is not so bad but there are times it takes longer to load.

Re: Slow Start Due to Network Tabs

Posted: 16 Apr 2013 20:39
by admin
It should not take any time and show no "!".

Is it really "\\MyServer\Public\SharedDocs\"? Mysterious! I just checked the loading line by line. I see no way how this could attempt to get the icon under these settings. :veryconfused:

Re: Slow Start Due to Network Tabs

Posted: 16 Apr 2013 21:00
by Enternal
admin wrote:It should not take any time and show no "!".

Is it really "\\MyServer\Public\SharedDocs\"? Mysterious! I just checked the loading line by line. I see no way how this could attempt to get the icon under these settings. :veryconfused:
Haha actually "MyServer" is a placeholder for the server's name that I want to keep anonymous online.

But yes it's really mysterious. It should not be attempting to retrieve that icon! I also thought it was odd when I saw that icon. Should I send you my ini file? There may be some settings in it that is interfering with other settings.

Re: Slow Start Due to Network Tabs

Posted: 16 Apr 2013 21:17
by admin
Enternal wrote:Should I send you my ini file? There may be some settings in it that is interfering with other settings.
Yep.

Re: Slow Start Due to Network Tabs

Posted: 16 Apr 2013 21:23
by Enternal
Here it is! I changed the format from ini to xys due to how the forum is. Note: There's no license key in it because I'm currently using Admin.ini to have the license key somewhere else.
XYplorer.xys

Re: Slow Start Due to Network Tabs

Posted: 17 Apr 2013 09:06
by admin
Tried it, no luck. Remains a mystery.

Re: Slow Start Due to Network Tabs

Posted: 17 Apr 2013 09:32
by Enternal
Lucky! I found out the problem. It was on a hunch but it turns out to be correct. That particular tab points to:
\\MyServer\SharedDocs

If I left the tab name as "" (Blank), which means the tab name is whatever the location happens to be, I do not have any issue with XYplorer trying to load the the tab icon. However, if I rename the tab icon, in this case I had it named to "SharedDocs" because I have the tab name under Settings > Tabs > Tab captions > Full path. If I did rename the tab, then I will have that loading problem. However it's not that simple. There is another requirement. The first is that particular tab must have a Home set and "Locked to Home Zone". A combination of those 3 requirements and you will have a loading problem where it tries to load the icon.

I have verified it with my installation and a fresh installation as well as another installation that I had the same problem with.

Re: Slow Start Due to Network Tabs

Posted: 17 Apr 2013 09:53
by admin
Bingo! That combination and with "\\MyServer\SharedDocs" as path indeed hangs at start up! Congratulations! Fix comes... :biggrin:

Re: Slow Start Due to Network Tabs

Posted: 17 Apr 2013 11:13
by Enternal
Yeah! It's fixed! :appl: :biggrin: Awesome as always!