Godot on Mac repeatedly hangs when switching desktops - any ideas on a fix?

Godot Version

4.2.1.stable.official

Question

I’m using 4.2.1 (stable.official) on a Mac running Sonoma 14.5. I use two monitors and multiple desktops on each. I tend to have Godot on my secondary display.

I’m finding that whenever I swap to another desktop and back again (checking email, Slack, etc) I get a beach ball in Godot and it goes unresponsive. I have to force quit and re-launch.

Any ideas why this might happen? Any known fix? I tried searching but have come up short.

Have you tried the 4.3 beta to see if it’s fixed there?

If not you can check the issues if this bug has been reported at Issues · godotengine/godot · GitHub ? If so there might be more information there, and if not it might be a good idea to open an issue reporting this bug so it can be fixed.

I haven’t tried the beta but will give that a shot. Thanks for the link as well.

I had this issue with 4.2.1, 4.2.2 doesn’t do it for me. But a simple fix was just navigate to another desktop and back using ctrl + arrow and it would always unfreeze for me.