godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.71k stars 20.12k forks source link

Cannot delete files in web editor #70975

Open PoolloverNathan opened 1 year ago

PoolloverNathan commented 1 year ago

Godot version

v3.5.1.stable.official [6fed1ffa3] on web

System information

Chrome 107.0.5304.110 (Official Build) (64-bit) on ChromeOS 15117.111.0 (Official Build) stable-channel octopus

Issue description

When using the web editor, it is impossible to delete files. This makes the quick load screen cluttered, wastes disk space, and forces me to resort to a "TRASH" folder.

Steps to reproduce

  1. Create a project on the web editor
  2. Create a file
  3. Delete it

Minimal reproduction project

N/A

Temporary workaround

Creating a trash folder and putting any files that you would delete in there seems to work, as long as you clear it occasionally. You will also have to change the project folder every time you import as a side-effect of this.

MeBadDev commented 1 year ago

i don't think we can do anything, website can't delete file

Calinou commented 1 year ago

i don't think we can do anything, website can't delete file

It's definitely possible to delete files within a virtual filesystem exposed by browsers. The web editor doesn't access your device's physical filesystem in the first place.

PoolloverNathan commented 1 year ago

Fixed in/before v4.0.beta9.official [e780dc332]

PoolloverNathan commented 1 year ago

Seems to be back in/before v4.0.rc3.official [7e79aead9]. I'll do some testing to see when.

radlotus commented 1 year ago

Can this be fixed in the 3.x branch?

GooseGooseDuck198 commented 1 year ago

I also have this issue. It is incredibly annoying and I keep having to completely remake projects or pain-stakingly move scenes to a new projects because of this.

Calinou commented 1 year ago

Can this be fixed in the 3.x branch?

Yes, if a solution is found in 4.x. We don't know how to resolve this yet :slightly_smiling_face:

ghost commented 10 months ago

Workaround: If you need to delete a file in your project, exit back to the loader and open the modal for creating a new project. Then, open the panel for choosing the location of your project, and you can delete anything from in there. Note that you will have to delete all the files in a folder before deleting the folder itself.

image