files-community / files-community/Files

Bug: When trying to delete a folder that has been opened in another instance of Files, the folder "locks"

Open
#16,775 5 comments 0 reactions 0 assignees View on GitHub
area - file operations needs - additional info needs - reproducing
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### Description

![Image](https://github.com/user-attachments/assets/d4c01a61-ebbd-4ee4-a1f8-ca6f3cfa9330)

Folder is locked when trying to delete when opened or previously opened in another instance of Files

### Steps To Reproduce

1. Open Files
2. Open a folder in new window
3. Navigate to another folder in File in that new window
4. In the original File instance, try delete the folder, delete will fail
5. Use Power Toys "Locksmith" to unlock
6. Notice that the folder is "locked" by Files

### Files Version

3.9.0.0

### Windows Version

10.0.22635.4805

### User ID

d5bedc5e-6760-4ce2-a358-a809d574f08c

### Log File

[debug.log](https://github.com/user-attachments/files/18645347/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.