Description
Created by: chryshbk
Description
I had a sketch from my class opened with a .java file which does not apply to Processing, so I clicked to delete it and it wiped my whole Downloads folder. This issue was raised here (benfry/processing4#424) with the resolution that it would at least send it to the recycling bin then they could still be recovered. However, it wiped all my files entirely instead of sending to the recycling bin.
This is a huge issue and I believe that instead of deleting the file entirely, it should send to the recycling bin since most files are sent to Downloads folder.
Expected Behavior
Send folder to the recycling bin for retrieval (it was made by mistake).
Current Behavior
Wipes the entire folder from the computer.
Steps to Reproduce
- Open a sketch from Downloads folder (or any folder
- Click to delete it
- Click yes
- Folder is gone forever.
Your Environment
- Processing version: 4.3
- Operating System and OS version: MacOS 11.7.1 Big Sur
Possible Causes / Solutions
I'd say just send it to the recycling bin. Should require password instead of a dialog window if it intends to wipe from the drive at least because it can potentially remove very important files by accident.
Metadata
Metadata
Assignees
Type
Projects
Status
Done