Freeze in Find in Files while searching in recycle.bin

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Skeeve

Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

Repro:

1.) Set a large volume with many files as search volume, like C:
2.) Enter *.* as search mask or leave blank
3.) Enter a search term in the content tab that has a low probability for a hit like "jahshsjsksjdhdjskjdhsjdhdkskdhfdjhsdhdkskdhfh"
4.) Start the search
5.) When you click any tab or feature as long as no items have been added to the result list and as long the tool searches in the recycle.bin, XYP becomes unrespondable and freezes.

Note: This doesn't occur if the recycle bin is empty or hardly contains stuff. But it happens on volumes with many files in the recycle.bin.

See screenshot.

Kind regards,
Skeeve
To see the attached files, you need to log into the forum.

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

Re: Freeze in Find in Files while searching in recycle.bin

Post by highend »

I'm wondering why it tries to search that file anyway... .dds is in the internal generic file type list for images and your config states that it should only search files that match the text category...

Maybe the bug is that this is ignored when in the recycle bin?...
One of my scripts helped you out? Please donate via Paypal

Skeeve

Re: Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

highend wrote:I'm wondering why it tries to search that file anyway... .dds is in the internal generic file type name for images and your config states that it should only search files that match the text category...

Maybe the bug is that this is ignored when in the recycle bin?...
Thanks for your reply. Ya, you're right. And if I just search subfolders, not the root, so that the recycle bin won't be searched everything runs fine. Maybe I should add the recylcle.bin to the exclude list, but I have no clue how.

For the sake of fairness I have to say that it doesn't really freeze forever. After 3-5 minutes XYP continues with the operation, but the stall is a bit long;)

Kind regards,
Skeeve

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

Re: Freeze in Find in Files while searching in recycle.bin

Post by highend »

Just configure it in the Excluded tab:
Unbenannt.png
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

Skeeve

Re: Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

Just some more facts:

* Neither ESC nor the stop buttons are accepted while the recycle.bin is searched.
* Adding E:\$RECYCLE.BIN to the exclude helps to prevent the issue! (but I have to make sure each time it's included)

Kind regards,
Marcus

Skeeve

Re: Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

highend wrote:Just configure it in the Excluded tab:
Unbenannt.png
Thanks for the help. Had exacltly the same idea and it helps, however you have to make sure it's added each time.

Kind regards,
Skeeve

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

Re: Freeze in Find in Files while searching in recycle.bin

Post by highend »

Added each time?

Add it, Menu - File - Save Settings. Done.
One of my scripts helped you out? Please donate via Paypal

Skeeve

Re: Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

highend wrote:Added each time?

Add it, Menu - File - Save Settings. Done.
That works, thanks! Only problem is when I forget to check the Exclude check box after using the reset filter button:)

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

Re: Freeze in Find in Files while searching in recycle.bin

Post by highend »

My two boxes aren't resetted when I reset the filter? oO
One of my scripts helped you out? Please donate via Paypal

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

Re: Freeze in Find in Files while searching in recycle.bin

Post by admin »

highend wrote:I'm wondering why it tries to search that file anyway... .dds is in the internal generic file type list for images and your config states that it should only search files that match the text category...

Maybe the bug is that this is ignored when in the recycle bin?...
On content search each checked file is shown in the status bar, even if not actually searched for contents. If this DDS file was shown for a time long enough to read its name and take a screenshot, it was apparently searched for contents, so it might have been detected* as a non-binary file (no NULL characters) which is equivalent to "Text file" in this context. If this file is huge it can take a while to scan it for contents. That might explain the delay.

* This goes back to a change in v14.30.0302 - 2014-08-11 21:12. Now I see that the logic here is lacking, since indeed known image file extensions should not be included here. Will fix...

Skeeve

Re: Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

Thanks a lot :)

Just out of curiosity, does that mean XY becomes unrespondable while a huge text file (i.e. 10 TB) is searched for content? Is this not threaded?

Kind regards

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

Re: Freeze in Find in Files while searching in recycle.bin

Post by admin »

It should stay responsive, but not very responsive. It's not threaded.

A 10 TB text file, hmm, that would be an interesting read... :biggrin:

Skeeve

Re: Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

Thanks for the info :)

Well, yes 10 TB was kind of a very theoretical example:)

Although there are some awesome tools like EmEditor that can handle such files, because they have a large file controller and just map the required portion you view and edit into memory.

Kind Regards

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

Re: Freeze in Find in Files while searching in recycle.bin

Post by admin »

I love EmEditor -- it's my editor for some years now. :tup:

Skeeve

Re: Freeze in Find in Files while searching in recycle.bin

Post by Skeeve »

Same here, cannot agree more :D Best text editor on planet in my opinion :)

Together with your explorer, even a very mediocre OS becomes awesome.

Thanks a lot for the good work, hope you'll will continue support for a loooong time :tup:

Post Reply