slow browsing on network drives

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
admin
Site Admin
Posts: 64843
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: slow browsing on network drives

Post by admin »

Checked it: Yes, unchecking "Include network locations" overrides "Refresh during file operations" (no refresh will happen during file ops).

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

Re: slow browsing on network drives

Post by admin »

I assume the other victims of slow browsing are happy now, too?

daniel_m
Posts: 192
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: slow browsing on network drives

Post by daniel_m »

Could "Respond to file system notifications" be made to ignore network drives? Auto-refresh works well with a network drive, except when "Respond to file system notifications" is enabled.

Maybe it is easier to understand what I mean by illustrating how this would look like in the settings:

1.png
1.png (32.69 KiB) Viewed 2236 times
(recessed to avoid confusion about the seemingly duplicate "Include network locations")

2.png
2.png (32.69 KiB) Viewed 2236 times
(in-line)
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

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

Re: slow browsing on network drives

Post by admin »

daniel_m wrote: 31 Aug 2024 17:49 Could "Respond to file system notifications" be made to ignore network drives? Auto-refresh works well with a network drive, except when "Respond to file system notifications" is enabled.
I am hearing this for the first time. Could you elaborate?

daniel_m
Posts: 192
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: slow browsing on network drives

Post by daniel_m »

admin wrote: 01 Sep 2024 08:46 I am hearing this for the first time. Could you elaborate?
This is an issue that we discovered 3 years ago: viewtopic.php?t=23474
In v22.20.0222, you made DisableSHChangeNotifyRegister=1 from XYplorer.ini available as setting Configuration | General | Refresh, Icons, History | Auto-Refresh | Listen (Respond) to file system notifications in the UI.

Now the question is if file system notifications can be made to refresh local drives, but not network drives.
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

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

Re: slow browsing on network drives

Post by admin »

So, you want to enable "Auto-Refresh | Include network locations", but exclude "Auto-Refresh | Respond to file system notifications" from network locations? An option would be to add a checkbox "Auto-Refresh | Respond to file system notifications | Exclude network locations". That would nicely avoid confusion about a seemingly duplicate "Include network locations".

daniel_m
Posts: 192
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: slow browsing on network drives

Post by daniel_m »

Yes, that is it :D

Having a sup-point "Exclude network locations" for "Respond to file system notifications" really sounds like a good idea. It makes sense to me, and I guess that other people will understand it too.
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

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

Re: slow browsing on network drives

Post by admin »

This is difficult to test, so for starters I'll add a tweak to the next beta (v26.30.0411). Let me know if it actually makes a difference.

Code: Select all

SHChangeNotifyExcludeNetwork=1

mumajs
Posts: 75
Joined: 03 Nov 2018 16:47
Location: Win11, 150% scaling on 3840 x 2400

Re: slow browsing on network drives

Post by mumajs »

admin wrote: 31 Aug 2024 14:17 I assume the other victims of slow browsing are happy now, too?
It works perfectly Don! Very great job! Btw it is some months ago I mentioned in some post that xyplorer must be doing something strange during network access (you answered there were not any changes). Now we got rid of it! Sometimes is necessary to review "old code" and do the changes :). Again, thank you!!!

daniel_m
Posts: 192
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: slow browsing on network drives

Post by daniel_m »

admin wrote: 02 Sep 2024 09:10 This is difficult to test, so for starters I'll add a tweak to the next beta (v26.30.0411). Let me know if it actually makes a difference.

Code: Select all

SHChangeNotifyExcludeNetwork=1
The tweak seems to work well. With Respond to file system notifications enabled and SHChangeNotifyExcludeNetwork=1, opening files with SumatraPDF from PortableApps does not make XYplorer freeze, and mounting/unmounting a USB stick does make the device show up in, or disappear from the tree :tup:

I noticed that (physically) attaching and detaching the USB stick causes my XYplorer to freeze. Merely ejecting the device (right-click > Eject) does not cause freezing. I guess because the device is technically still present and occupying a drive letter, although it's file system is no longer accessible (until it is detached physically).
When I run a ::fresh; instance of XYplorer, (physically) attaching and detaching the USB stick does not cause XYplorer to freeze.
But ... since I rarely use USB sticks, it isn't bothersome.
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

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

Re: slow browsing on network drives

Post by admin »

Good, thanks for testing!

I'll leave it at tweak level for now.

Regarding the USB freeze: Can't explain it, don't see it here.

mussor
Posts: 75
Joined: 05 Sep 2022 11:42

Re: slow browsing on network drives

Post by mussor »

admin wrote: 30 Aug 2024 17:53 Try to uncheck this: Configuration | General | Refresh, Icons, History | Auto-Refresh | Refresh during file operations
thanks for suggestion. This thread is getting bigger, I hope you still have a track of what I am about here.

Unchecking this might have an effect. It is very irregular, sometimes its faster other times quite slow. I would say it is somehow on par with other competitors so I will "close" this for now. Thank you much!!

Post Reply