-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
OS.move_to_trash() not functioning or poorly documented #61942
Comments
Can you reproduce this on Did you disable the system trash in your Windows settings, or did you set a file size limit on it? |
I can manually send files to the recycling bin, which I suppose means it is not disabled and not file size limited. My recycling bin is on a different hard drive from my godot projects if that makes a difference. |
This could be the cause of the issue. Can you reproduce this issue on a project created on the same hard drive? Also, is your recycle bin on the C: drive or another drive? |
My recycle bin is in the default location C: |
I put a test project on the same drive as the recycling bin and unfortunately it didn't work. This was a new project. |
Edit: removed |
This is also happening on Android. |
Please open a new issue with a minimal reproduction project attached. |
Do I have to upload a tscn file? |
A minimal reproduction project is a ZIP archive that contains all the project files, including |
Godot version
4.0 Alpha 9
System information
Windows 10
Issue description
Using OS.move_to_trash always produces a generic failure (error code 1). This could be due to my windows configuration, or it could also be due to a bug, or it could be because OS.move_to_trash() is very minimally documented.
Steps to reproduce
Run the project and click the button.
Minimal reproduction project
Move_To_TrashProject.zip
The text was updated successfully, but these errors were encountered: