processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

Deleting sketch caused Processing to delete my entire Downloads folder (2)

Open chryshbk opened this issue 2 years ago • 2 comments

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 (https://github.com/benfry/processing4/issues/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

  1. Open a sketch from Downloads folder (or any folder
  2. Click to delete it
  3. Click yes
  4. 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.

chryshbk avatar Oct 13 '23 04:10 chryshbk

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.

benfry avatar Oct 20 '23 20:10 benfry

I also had this issue today !! my full downloads folder is gone 😢😢😢

JokeGijsbrechts avatar Nov 13 '23 17:11 JokeGijsbrechts