files-community/Files

Bug: Don't select items that are created externally

Offen

#14.011 geöffnet am 21.11.2023

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (2.719 Forks)batch import
help wanted

Repository-Metriken

Stars
 (43.502 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 11T 15h) (61 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide