Page 1 of 2
XYplorer hanging on launch when checking network drives
Posted: 22 Apr 2017 16:04
by paludis
Version: 17.90.0100
I have two network drives connect to a NAS. After a while of inactivity the NAS drives spin down.
When I launch XYplorer it seems to check all connected network drives and hangs until the drives of the NAS are available again.
I already tried all possible combinations of General -> Controls and More -> Network
Is there any way I can disable drive (network shares in particular) checking altogether until I actually access them?
Thanks & Regards
Re: XYplorer hanging on launch when checking network drives
Posted: 23 Apr 2017 08:46
by RalphM
Welcome to the forum!
Activating "Assume servers exist" and "Cache network servers" usually takes care of this problem but if you have tabs pointing to network locations you might want to disable "Network browsing on startup" as well.
Re: XYplorer hanging on launch when checking network drives
Posted: 25 Apr 2017 08:28
by admin
Also ensure this is unticked:
Configuration | Startup & Exit | Reconnect mapped network drives on startup
Re: XYplorer hanging on launch when checking network drives
Posted: 28 Apr 2017 16:40
by paludis
I have configured all settings as described.
Had XYplorer minimized for some time, pointing at local drive D:\, when i maximized it again it became unresponsive and i heard the NAS disks spinning up again, then after several seconds it became responsive again.
It seems like it doesn't necessarily have something to do with startup.
Re: XYplorer hanging on launch when checking network drives
Posted: 29 Apr 2017 09:48
by admin
It's normal that sleeping disks take some time to wake up.
Re: XYplorer hanging on launch when checking network drives
Posted: 29 Apr 2017 15:57
by paludis
Yes, but they shouldn't wake up. Because i never touched the network drive since starting XYplorer.
Basically XYplorer is somehow trying to access them (maybe for status check etc.) upon maxizmizing without me actually using the drives (they are just mapped ofc.).
Re: XYplorer hanging on launch when checking network drives
Posted: 02 May 2017 09:41
by admin
XY needs to touch them. It's a file manager, it needs to get an idea of the current file system on start up.

Re: XYplorer hanging on launch when checking network drives
Posted: 02 May 2017 19:09
by paludis
But it is a network drive and i didn't touch it. So why does the file system to be read before i actually use it?
Re: XYplorer hanging on launch when checking network drives
Posted: 02 May 2017 20:31
by admin
To determine which icon to display.
Re: XYplorer hanging on launch when checking network drives
Posted: 03 May 2017 19:20
by paludis
Of course this needs to happen once at startup.
But why again on maximizing a minimized window that was unused for some time?
Re: XYplorer hanging on launch when checking network drives
Posted: 03 May 2017 19:37
by admin
Hard to tell from here, maybe some icon becomes visible in the Tree or Catalog?
Re: XYplorer hanging on launch when checking network drives
Posted: 14 May 2017 13:20
by paludis
No, the window is just maximized, no further actions are possible before it starts hanging.
Would it be possible to add a configuration options that disables touching network shares unless the user specifically requests it?
Alternatively checking network shares async would also generally be a good solution to avoid the whole application becoming unresponsive.
Re: XYplorer hanging on launch when checking network drives
Posted: 15 May 2017 09:31
by admin
Can be done. See RalphM's reply:
viewtopic.php?p=148963#p148963
Re: XYplorer hanging on launch when checking network drives
Posted: 16 May 2017 17:34
by paludis
I feel this conversation is going into circles...
Process to reproduce:
1) Start XYplorer (No tabs are used, both panes pointing to a local drive, network shares are already mapped but
not accessed)
2) Minimize XYPlorer
3) Do something else for a while (probably just as long as it takes for the NAS drives going to sleep)
4) Maximize XYPlorer (just maximize, nothing else)
Actual behavior: XYPlorer is unresponsive while the NAS drives of the mapped shares are spinning up
Expected behavior: XYPlorer should immediately responsive without ever trying to touch the network shares
Here are my seetings, which
do not work:
startupexit.png
controlsmore.png
Re: XYplorer hanging on launch when checking network drives
Posted: 04 Jun 2017 12:56
by admin
I tried to reproduce a wake up drive on maximize but could not make it happen. And there is nothing in the code that makes this look even possible.
I'm afraid the whole issue remains a mystery to me.
