Page 2 of 2

Re: Sluggish

Posted: 05 Feb 2024 10:10
by crawfish
admin wrote: 05 Feb 2024 10:00 Oh, I guess I missed that the first time I read it: So the hang is not caused by the left click, but the right click?.
Sorry if it wasn't clear. All I have to do is left-click on Downloads.txt. So the sequence that causes the 30 second hang is:

1. Start XYplorer.
2. Run the search.
3. Left-click Downloads.txt.

No search, no hang.

Re: Sluggish

Posted: 05 Feb 2024 10:18
by admin
Untick these:
Configuration | Information | File Info Tips & Hover Box | Show file info tips
Configuration | Information | File Info Tips & Hover Box | Show Hover Box

Any difference?

Re: Sluggish

Posted: 05 Feb 2024 18:05
by crawfish
admin wrote: 05 Feb 2024 10:18 Untick these:
Configuration | Information | File Info Tips & Hover Box | Show file info tips
Configuration | Information | File Info Tips & Hover Box | Show Hover Box

Any difference?
They were already unchecked.

It's not just clicking on a file that causes the hang. Clicking on a tab in the upper pane does it. Clicking on a breadcrumb in the upper pane does it. Clicking on empty space in the upper pane does it. It happens only if I perform the search first, and only in a fresh instance of XYplorer. It doesn't happen if I try the sequence a second time in the same instance of XYplorer. It doesn't happen if I switch tabs in the lower pane before clicking in the upper pane.

Re: Sluggish

Posted: 05 Feb 2024 23:43
by admin
So, what are you searching? What kind of search is this?

Re: Sluggish

Posted: 06 Feb 2024 00:40
by crawfish
admin wrote: 05 Feb 2024 23:43 So, what are you searching? What kind of search is this?
It's the same search I've been doing at least weekly for many years. It finds files over a set of paths on my home network created/modified since the last such search. You can see from the screenshot I posted earlier that it has completed before I try to interact with the top pane. You can also see it iterates over quite a few files, so to speed it up for testing, I deleted all but one path. The hanging behavior remained the same even after the search completed instantly after scanning only 199 files.

This search is part of the same process I was talking about in this thread, but this is a totally different issue I'm talking about now:

viewtopic.php?p=201292

Re: Sluggish

Posted: 06 Feb 2024 00:59
by highend
What happens when you copy your latest test folder (with the 199 items) onto a local drive and perform the same test with this one instead?

If it works now:
Configuration | General | Safety Belts, Network | Network | [x] Cache network servers
Is it ticked?

Execute this from the address bar: tweak("NetworkEnumeration");
Post what you see in the status bar afterwards

Re: Sluggish

Posted: 06 Feb 2024 02:29
by crawfish
highend wrote: 06 Feb 2024 00:59 What happens when you copy your latest test folder (with the 199 items) onto a local drive and perform the same test with this one instead?
Doesn't hang.
If it works now:
Configuration | General | Safety Belts, Network | Network | [x] Cache network servers
Is it ticked?
It's unchecked, as are all options on that whole page.
Execute this from the address bar: tweak("NetworkEnumeration");
Post what you see in the status bar afterwards
tweak status: NetworkEnumeration=0

All this talk about the network gave me the idea to try specifying the search path using a mapped drive instead of the UNC syntax for the same path that was causing problems. Using the mapped drive, there is no hang. That is, \\nas\path hangs, while X:\path does not.

Conversely, specifying the UNC path for the local test folder using the default Windows share causes it to hang when I interact with the upper pane after the search in a fresh instance of XYplorer. That is, \\mainpc\e$\path hangs, while E:\path does not.

NB: Don't know if it matters, but the paths for the tabs in the upper pane are all folders in the same local drive.

Re: Sluggish

Posted: 06 Feb 2024 05:47
by highend
Configuration | General | Safety Belts, Network | Network | [ ] Cache network servers
Tick that option, do the test again (with the search in \\nas\path)!

Re: Sluggish

Posted: 06 Feb 2024 06:01
by crawfish
highend wrote: 06 Feb 2024 05:47 Configuration | General | Safety Belts, Network | Network | [ ] Cache network servers
Tick that option, do the test again (with the search in \\nas\path)!
Worked (on the second run and thereafter)! Any idea why recent versions appear to require it? I certainly haven't ever modified it.