Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
Describe the bug
If the ImGUI is enabled while the user is in Game Mode, and then the Game Mode is exited, the Editor is defocused, and the cursor is duplicated.
It should be noted that the duplicating cursors also occur while reproducing the issue: https://github.com/o3de/o3de/issues/7939, so this issue could be related.
It should also be noted that the issue: https://github.com/o3de/o3de/issues/4737 describes unresponsiveness after pressing the Escape key while the ImGUI is up, but in this issue the Editor does not become grayed out, and functions properly after clicking back into the Editor.
Steps to reproduce
Steps to reproduce the behavior:
Enter the Game Mode.
Press the Home key (opens the ImGUI).
Press the Escape key (exits the Game Mode).
Press the Home key.
Expected behavior
The ImGUI is closed, there is no issue with the cursor.
Actual behavior
The Editor is defocused, causing the ImGUI to not close, and the cursor is duplicated until the ImGUI is closed.
Describe the bug If the ImGUI is enabled while the user is in Game Mode, and then the Game Mode is exited, the Editor is defocused, and the cursor is duplicated.
It should be noted that the duplicating cursors also occur while reproducing the issue: https://github.com/o3de/o3de/issues/7939, so this issue could be related.
It should also be noted that the issue: https://github.com/o3de/o3de/issues/4737 describes unresponsiveness after pressing the Escape key while the ImGUI is up, but in this issue the Editor does not become grayed out, and functions properly after clicking back into the Editor.
Steps to reproduce Steps to reproduce the behavior:
Expected behavior The ImGUI is closed, there is no issue with the cursor.
Actual behavior The Editor is defocused, causing the ImGUI to not close, and the cursor is duplicated until the ImGUI is closed.
Video
https://user-images.githubusercontent.com/86952082/159710734-6661fdb8-68fc-4a3c-a94d-f944b8c96d77.mp4
Found in Branch Development (9e96dcf)
Desktop