Skip to content

Deleting sketch caused Processing to delete my entire Downloads folder #424

Closed
@processing-bot

Description

@processing-bot

Created by: kaylinli

Description

I downloaded a pde file from a friend and opened the pde file from the Downloads folder. Later, I tried to delete the sketch through the Processing app, and it ended up deleting everything in my Downloads folder, which was a lot of files. These files couldn't be found in the recycling bin either, so they were directly deleted by Processing.

Expected Behavior

I was expecting Processing to only delete my pde files.

Steps to Reproduce

  1. Move a pde file to the Downloads folder
  2. Open pde file using Processing
  3. Delete sketch using drop down menu in Processing

Your Environment

  • Processing version:
  • Operating System and OS version: Windows 10

Possible Causes / Solutions

Not sure, it seems like every time Processing deletes a sketch it deletes all the files in the working directory, but since I opened my pde file in the Downloads folder it made the Downloads folder the working directory and deleted everything in there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions