Skip to content
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

Editor crash when minimizing with "interface/editor/save_on_focus_loss" set to true #77408

Closed
SleepyTonia opened this issue May 23, 2023 · 1 comment

Comments

@SleepyTonia
Copy link

SleepyTonia commented May 23, 2023

Godot version

4.1 dev 2

System information

Linux Manjaro

Issue description

If a project has a scene stored and open, when the editor loses focus the following line will flood the terminal:

ERROR: Task 'save' already exists.
at: add_task (editor/progress_dialog.cpp:177)

This only happens following this sequence of events and if the editor setting "interface/editor/save_on_focus_loss" is set to true. Manually saving doesn't cause any issues. Saving just before minimizing doesn't prevent this either.

Steps to reproduce

Create a new project, create a scene of any type and save it. Go in the editor settings and set "Save on focus loss" to true. Then all you need to do is minimize the window.

Minimal reproduction project

focus_loss.zip

@Calinou
Copy link
Member

Calinou commented Jun 9, 2023

Thanks for the report! Consolidating in #73765.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants