-
-
Notifications
You must be signed in to change notification settings - Fork 49
Deleting sketch caused Processing to delete my entire Downloads folder (2) #794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Created by: benfry Yikes, are you certain you were using the 4.3 version? It should have given you a message asking if you were sure, and specifically saying “This will delete the "Downloads" folder.” Also on macOS, it should only be moving to the Trash, so that's a surprise. |
Created by: JokeGijsbrechts I also had this issue today !! my full downloads folder is gone 😢😢😢 |
Why this happensWhen you delete the last tab in a sketch, Processing treats the entire folder containing the This means that if the ![]() Note: to avoid similar issues in existing versions of Processing 4, we strongly recommend keeping your Proposed solutionGiven the severity of this issue and the real risk of accidental data loss, I’d like to propose a simple but effective solution: Processing should not allow the deletion of the last tab in any sketch. This approach eliminates the current risk where deleting the last tab causes the entire folder (potentially containing unrelated files) to be deleted. If a user tries to delete the last remaining tab, Processing would display a message like: While this adds a little bit of friction, it clarifies where the file is located and gives full control to the user. It also helps raise user awareness of the file system, which is especially valuable for beginners. cc @Stefterv |
The proposed solution was implemented in #943 and included in version 4.3.4. Deleting the last tab of a sketch in the PDE will now raise an error message. ![]() Closing this issue. |
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
Your Environment
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.
The text was updated successfully, but these errors were encountered: