-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Remove error messages caused by Save on Focus feature #91555
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, it works as expected (Windows 11). I no longer get errors when Save on Focus Loss kicks in.
The downside of this approach is that if saving takes a long time (e.g. due to a huge binary resource being serialized as text in a scene file), the editor will appear to freeze for a few seconds if you alt-tab back in quickly. Still, I consider this is preferable to displaying an error every time the editor loses focus.
Eventually, the scene saving UX should be reworked to use a visually non-blocking method that doesn't need to spawn a dialog. This will alleviate the issue entirely while being less intrusive when you press Ctrl + S or when saving before running a scene.
|
Looks good. Could you amend the commit message (with E.g.:
|
Thanks! And congrats for your first merged Godot contribution 🎉 |
Awesome! |
Fixes #73765
To clarify: fixing it that way covers most of the problems caused by the underlying issue (showing dialogs on the root Window during notification processing).
Another issue could be created to track the underlying problem.