[BUG] Files get erased if saved with no free disk space
Open
Component: IDE
Type: Bug
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
If a user is saving a file with no free space on the disk, the file contents get erased. The IDE issues no single warning, thus convincing the user that the file has been saved, while in reality it hasn't.
Arduino IDE 1.8.9
Platform: Debian GNU/Linux 9 (stretch)
Contributor guide
Research direction
Reproduce the report with Arduino IDE 1.8.9 on Debian GNU/Linux 9 while saving when the disk has no free space. Trace the save operation from the IDE entry point and verify that the failure is surfaced with a single warning and that existing file contents are not erased.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100