-
-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Description
Tested versions
v3.7.dev.custom_build [5155fe5]
System information
win11
Issue description
In my project, I was using OS.move_to_trash to delete save files.
I have always tested my project in windowed mode (not maximized).
Today I maximized the window and noticed a graphical issue.
Upon investigation, I discovered that it occurs when calling OS.move_to_trash while the game window is maximized. The glitch does not happen when the window is minimized.
I modified the code to use Directory to delete the files instead, and the issue was resolved.
Video showing the error:
https://youtu.be/dCxHqSkZviw?si=edFvWWTx9Qbw_HPd&t=5
Pause the video at 0:05
Step frame by frame using the "." (period) key
You can see strange flickering and menu letters changing rapidly inappropriately. This does not happen in the code itself; something unusual happens graphically when calling OS.move_to_trash.
Video without the error:
https://youtu.be/5ESjgRgcrUw?si=FZNyf0DLKTzM_ny6
The issue occurs when I press the button and select the option "USED" in the menu, which then calls OS.move_to_trash.
Interestingly, the glitch happens when the window is maximized, but it does not occur if the window is not maximized.
It’s like Godot chokes when OS.move_to_trash is called.
Steps to reproduce
...
Minimal reproduction project (MRP)
...
Metadata
Metadata
Assignees
Type
Projects
Status