files-community / files-community/Files

Bug: Files cannot delete folders with subfolders from the recycle bin

Open
#16,330 15 comments 0 reactions 0 assignees View on GitHub
area - file operations needs - reproducing
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 1m
Merged PRs (30d)
60

Description

### 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. Move the root folder you just made to the recycle bin.
4. Open the recycle bin using Files and try to delete the folder from the recycle bin.
5. Refresh.
6. The folder that was "Deleted" comes back once you refresh

### Requirements

No other conditions than what was described, Occurs every time.

### Files Version

3.7.7.0 onwards

### Windows Version

10.0.22631.4317

### User ID

88176246-3359-4928-8953-9f1fb4b125ff

### Log File

[debug.log](https://github.com/user-attachments/files/17320355/debug.log)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.