XY Often Hangs "Not Responding" on File Rename

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Zardoz2293
Posts: 619
Joined: 09 Nov 2011 20:20
Location: USA

XY Often Hangs "Not Responding" on File Rename

Post by Zardoz2293 »

XY = v22.90.0117
Windows 10 Pro (64-bit), 21H2.19044.1620

I've noticed this concern for sometime now. A similar concern exists with thumbnail generation. However, I seem to be encountering the "Not Responding" with greater frequency.

Having a LV with just over a hundred PDF files, perform an F2 (rename file -- single). Microsoft Windows Search Protocol Host process occurs and XY hangs for the duration of SearchProtocolHost.exe on what appears waiting from a Windows Shell CallBack.

You can perform the identical action in WE without any performance hit whatsoever. Usually XY returns after some period, always dependent on the number of files in the folder with the rename event. This time XY never recovered (perpetual "Not Responding").
MacOS Tahoe v26.5.2
VM (Client): Windows 11 Pro (AArch64), 25H2.26200.8894 (10.0)
Windows Display: Main=MacBook 4112 x 2658 @200%; External 3840 x 2160 @125%

highend
Posts: 14992
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: XY Often Hangs "Not Responding" on File Rename

Post by highend »

Does this happen in a folder with just over a hundred .txt files (empty ones) as well (and with the same period of waiting time)? What happens if you do this in a folder with file extensions that are not registered (for Windows search to index)?
One of my scripts helped you out? Please donate via Paypal

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

Re: XY Often Hangs "Not Responding" on File Rename

Post by admin »

"Having a LV with just over a hundred PDF files..."

LV?

highend
Posts: 14992
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: XY Often Hangs "Not Responding" on File Rename

Post by highend »

Probably "List View"
One of my scripts helped you out? Please donate via Paypal

Zardoz2293
Posts: 619
Joined: 09 Nov 2011 20:20
Location: USA

Re: XY Often Hangs "Not Responding" on File Rename

Post by Zardoz2293 »

admin wrote: 05 Apr 2022 09:01 "Having a LV with just over a hundred PDF files..."

LV?
ListView
MacOS Tahoe v26.5.2
VM (Client): Windows 11 Pro (AArch64), 25H2.26200.8894 (10.0)
Windows Display: Main=MacBook 4112 x 2658 @200%; External 3840 x 2160 @125%

Zardoz2293
Posts: 619
Joined: 09 Nov 2011 20:20
Location: USA

Re: XY Often Hangs "Not Responding" on File Rename

Post by Zardoz2293 »

highend wrote: 05 Apr 2022 08:59 Does this happen in a folder with just over a hundred .txt files (empty ones) as well (and with the same period of waiting time)? What happens if you do this in a folder with file extensions that are not registered (for Windows search to index)?
It happens whenever Windows Search Host decides to respond the renamed file update. It doesn't happen with each rename, as I'm assuming there is some Windows caching and/or scheduling and when the limit occurs and you perform another rename, then XY will hang until Windows Search Host finishes, well, usually.

I'm assuming it is caused by an XY thread being blocked and having to wait until the (rename) call back finishes (assuming the exit on the rename doesn't return to XY as Windows Search Host hijacks the call forcing XY's thread to wait).

A new thread can be created for the call preventing XY's thread from being blocked.

https://docs.microsoft.com/en-us/window ... ex-objects
MacOS Tahoe v26.5.2
VM (Client): Windows 11 Pro (AArch64), 25H2.26200.8894 (10.0)
Windows Display: Main=MacBook 4112 x 2658 @200%; External 3840 x 2160 @125%

Post Reply