XYplorer hanging on launch when checking network drives

Things you’d like to miss in the future...
paludis
Posts: 54
Joined: 22 Apr 2017 15:57

XYplorer hanging on launch when checking network drives

Post 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

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: XYplorer hanging on launch when checking network drives

Post 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.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer hanging on launch when checking network drives

Post by admin »

Also ensure this is unticked:
Configuration | Startup & Exit | Reconnect mapped network drives on startup

paludis
Posts: 54
Joined: 22 Apr 2017 15:57

Re: XYplorer hanging on launch when checking network drives

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

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer hanging on launch when checking network drives

Post by admin »

It's normal that sleeping disks take some time to wake up.

paludis
Posts: 54
Joined: 22 Apr 2017 15:57

Re: XYplorer hanging on launch when checking network drives

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

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer hanging on launch when checking network drives

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

paludis
Posts: 54
Joined: 22 Apr 2017 15:57

Re: XYplorer hanging on launch when checking network drives

Post 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?

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer hanging on launch when checking network drives

Post by admin »

To determine which icon to display.

paludis
Posts: 54
Joined: 22 Apr 2017 15:57

Re: XYplorer hanging on launch when checking network drives

Post 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?

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer hanging on launch when checking network drives

Post by admin »

Hard to tell from here, maybe some icon becomes visible in the Tree or Catalog?

paludis
Posts: 54
Joined: 22 Apr 2017 15:57

Re: XYplorer hanging on launch when checking network drives

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

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer hanging on launch when checking network drives

Post by admin »

Can be done. See RalphM's reply: viewtopic.php?p=148963#p148963

paludis
Posts: 54
Joined: 22 Apr 2017 15:57

Re: XYplorer hanging on launch when checking network drives

Post 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
startupexit.png (10.66 KiB) Viewed 2427 times
controlsmore.png
controlsmore.png (14.55 KiB) Viewed 2427 times

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer hanging on launch when checking network drives

Post 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. :|

Post Reply