files-community / Files

A modern file manager that helps users organize their files and folders.
https://files.community
MIT License
34.52k stars 2.2k forks source link

Bug: Files Can't Delete Folders with more than 1 layer of subfolders from the recycle bin. #16330

Open Hissymaster opened 1 month ago

Hissymaster commented 1 month ago

Description

If you try to delete a folder with 2 or more subfolder layers, it will appear to work, but will reappear when you refresh.

Steps To Reproduce

  1. Create an empty folder.
  2. navigate into it and make a subfolder.
  3. navigate into this subfolder and make a subfolder in this one.
  4. move the root folder you started with to the recycle bin.
  5. try to delete it from the recycle bin. (It will look like it deleted successfully.)
  6. Refresh the view.
  7. it's back.

Requirements

What should happen: The folder should get deleted regardless of how many subfolders there are.

what actually happens: Nothing happens if the folder has more than 2 layers of subfolders.

Files Version

3.7.7.0

Windows Version

10.0.22631.4317

User ID

88176246-3359-4928-8953-9f1fb4b125ff

Log File

debug.log

Hissymaster commented 1 month ago

https://github.com/user-attachments/assets/c27604ff-9c90-4828-a1fb-c4fd7f49b7fe

Hissymaster commented 1 month ago

Clarification: folders without subfolders and folders with only 1 layer of subfolders are fine.

Josh65-2201 commented 1 month ago

Thanks for the report, can you see if this is an issue in the preview version. https://files.community/download

Hissymaster commented 1 month ago

Tested in 3.7.11.0, it still happens.

Hissymaster commented 1 month ago

debug.log

may as well attach the logs from this instance too.