-
-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Cannot close Editor when running game with unsaved changes in Single Window Mode #101718
Description
Tested versions
- Godot v4.4.beta1
System information
Windows 11 (build 22631) - Single-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 (NVIDIA; 32.0.15.6614) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 threads)
Issue description
When in Single window mode and there is an unsaved change and a running embedded game when closing the Editor, The editor becomes unresponsive and cannot be interacted with or closed. The only way to stop it is to force end task in Task Manager.
The Please confirm dialog is hidden behind the embedded game and cannot be interacted with by mouse or keyboard (if the game has taken focus). And the rest of the Editor cannot be interacted with while the confirm dialog is open, so the game cannot be stopped and you cannot change off the Game view.
There are other scenarios where this happens, not just when closing the editor with unsaved changes. Opening any dialog that is hidden behind the game will cause this to happen, such as Search Help (f1), Export, Quick Open, Editor Settings etc. These are bigger, so if the Editor window is resized you may be able see the X button, but it depends on their size and position.
Steps to reproduce
- Enable Single Window Mode.
- Make sure game will be embedded on play.
- Run the game.
- Make an edit to something in the editor.
- Try to close the Window.
- Click on the game.
- The popup is covered and uninteractable.
Minimal reproduction project (MRP)
N/A
