Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: When deleting a file, it will get stuck until the deletion is complete #16449

Open
ShuangTianSheng opened this issue Nov 8, 2024 · 7 comments
Labels
area - file operations Features or bug reports for file operations needs - additional info Needs more information from the reporter

Comments

@ShuangTianSheng
Copy link

Description

When deleting a file, it will get stuck until the deletion is complete, even a small file takes 4 seconds to complete

Steps To Reproduce

1,select a file;
2,Ctrl+D;

Files Version

3.7.11.0

Windows Version

19045.4651

User ID

No response

Log File

debug.log

@Josh65-2201
Copy link
Member

Thanks for the report, what do you mean by stuck, is the file not getting deleted?

@Josh65-2201 Josh65-2201 added needs - additional info Needs more information from the reporter area - file operations Features or bug reports for file operations labels Nov 8, 2024
@ShuangTianSheng
Copy link
Author

Thanks for the report, what do you mean by stuck, is the file not getting deleted?

During the deletion process, the software will lose response until the deletion is complete, which takes about 4 seconds to wait,I can reproduce this issue on both Win11 22h2 and Win10, it is a newly installed software

@yaira2
Copy link
Member

yaira2 commented Nov 9, 2024

Can you confirm if this is still an issue after emptying Recycle Bin?

@ShuangTianSheng
Copy link
Author

Thank you for your answer,Taking inspiration from your response, I have found that whenever I manipulate files in the Recycle Bin (such as deleting a file through Files or Explorer), the CPU usage of the Huorong security software increases, and Files lose response until the operation is completed before they return to normal. This occurs in events related to the Recycle Bin, which may seem to be caused by Huorong security software, but Explorer remains in a normal state throughout the process!Image

@0x5bfa
Copy link
Member

0x5bfa commented Nov 10, 2024

I assume it's suspecting Files might be a malware because deleting recycled items isn't re-doable. While it's concerning, that's not what Yair meant.

There were a few reports that say that deleting finishes instantaneously after emptying Recycle Bin, we wanted to confirm this is the same issue as these reports.

@Lamparter
Copy link
Contributor

I've had issues with Huorong virus protection software detecting WinUI3 apps as malware in the past.
Probably unrelated but there's a slim chance it isn't a coincidence.

@yaira2
Copy link
Member

yaira2 commented Nov 10, 2024

@ShuangTianSheng what I meant was, does this issue go away after emptying Recycle Bin?

Regarding the issue you mentioned with Huorong, it's possible that they perform extra scanning when file operations are initiated by a third-party process, unlike File Explorer where these operations are triggered directly by Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area - file operations Features or bug reports for file operations needs - additional info Needs more information from the reporter
Projects
None yet
Development

No branches or pull requests

5 participants