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: Files stops responding when deleting a lot of files for another program #16545

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

Comments

@XJF2332
Copy link

XJF2332 commented Nov 28, 2024

Description

When you try to delete many files using other apps (for example, a script or something), Files stops responding.
If you simply deletes files instead of sending to the recycle bin, Files just stopped refreshing, like this:
I created 1000 noise images using a python script, and this flutter app deletes it directly.
https://github.com/user-attachments/assets/1833a4db-20e0-4070-a720-de6af1c2cf7e
However, if you send files to the recycle bin, Files stops responding:
1000 noise images, the recycle bin was empty before.
https://github.com/user-attachments/assets/c0d953a2-9036-474f-ad12-0f2c04ee4f2f

For comparing Explorer always responds in time.

Steps To Reproduce

  1. create a lot of files
  2. write a script and delete these files / send these files to the recycle bin
  3. Files stops respoding

Files Version

3.8.0.0

Windows Version

10.0.22631.4460

User ID

776bf2f7-07f9-43c4-af8b-676038b323a9

Log File

debug.log

@Josh65-2201
Copy link
Member

Thanks for the report, do you already have lots of items in the recycle bin?

@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 28, 2024
@XJF2332
Copy link
Author

XJF2332 commented Nov 28, 2024

No, the recycle bin was empty before recording

@Josh65-2201 Josh65-2201 changed the title Bug: Files didn't response if you delete a lot of files Bug: Files stops responding when deleting a lot of files for another program Nov 28, 2024
@Josh65-2201 Josh65-2201 removed the needs - additional info Needs more information from the reporter label Nov 28, 2024
@Josh65-2201
Copy link
Member

Thanks

@yaira2
Copy link
Member

yaira2 commented Nov 28, 2024

This is probably because Files updates the ordering and grouping whenever the file list changes. Similar to #4214 but worth tracking separately.

@yaira2
Copy link
Member

yaira2 commented Dec 22, 2024

Is this still an issue in the preview version? https://files.community/download/preview

@yaira2 yaira2 added the needs - additional info Needs more information from the reporter label Dec 22, 2024
@yaira2
Copy link
Member

yaira2 commented Jan 6, 2025

Closing for now, but please let us know if you're still able to reproduce this issue.

@yaira2 yaira2 closed this as completed Jan 6, 2025
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Files task board Jan 6, 2025
@XJF2332
Copy link
Author

XJF2332 commented Jan 6, 2025

Windowsapps.2025.01.06.-.17.15.10.01.mp4

Is this still an issue in the preview version? https://files.community/download/preview

sorry, i forgot this. but it won't reproduce again.

@XJF2332
Copy link
Author

XJF2332 commented Jan 6, 2025

btw this video uses explorer to send to trash, it works fast. if I use something slower (like python), preview version will lag for a few seconds(maybe 2 or 3) but not stop responding

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
Status: Done
Development

No branches or pull requests

3 participants