files-community / files-community/Files

Bug: Don't select items that are created externally

Open
#14,011 6 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### Description

I've mainly encountered this with Minecraft servers trying to save the world and failing because Files has select the `level.dat` file used when made outside of Files, the terminal will report that the file was in use. I've also had this happen with Visual Studio sometimes making a temp file instead. The preview pane isn't open.

### Steps To Reproduce

1. Download Minecraft sever (https://papermc.io/downloads/all)
2. Start server in terminal (java -jar .jar)
3. Open world folder
4. Select level.dat
5. Wait a bit
6. See in console failed to rename, file in use error.

### Requirements

- Don't select the file if made outside of files.

### Files Version

3.0.9.0

### Windows Version

10.0.22621.2506

### Log File

[debug.log](https://github.com/files-community/Files/files/13431119/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.