o3de / o3de

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.
https://o3de.org
Other
7.64k stars 2.18k forks source link

Enabling ImGUI while in Game Mode, and exiting the Game Mode causes the Editor to defocus and duplicates the cursor #8458

Open LB-ArturZieba opened 2 years ago

LB-ArturZieba commented 2 years ago

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:

  1. Enter the Game Mode.
  2. Press the Home key (opens the ImGUI).
  3. Press the Escape key (exits the Game Mode).
  4. 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.

Video

https://user-images.githubusercontent.com/86952082/159710734-6661fdb8-68fc-4a3c-a94d-f944b8c96d77.mp4

Found in Branch Development (9e96dcf)

Desktop

superkitcath commented 2 years ago

This looks related to sig/content @lsemp3d, can you confirm? Thanks!

lsemp3d commented 2 years ago

This looks related to sig/content @lsemp3d, can you confirm? Thanks!

Yea, thanks!