Skip to content
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

ImGui keyboard navigation is basically broken. #603

Open
bryanedds opened this issue Oct 11, 2023 · 1 comment
Open

ImGui keyboard navigation is basically broken. #603

bryanedds opened this issue Oct 11, 2023 · 1 comment
Labels
gaia issue relating to Gaia game editor imgui issue originating from imgui*

Comments

@bryanedds
Copy link
Owner

bryanedds commented Oct 11, 2023

Enabling keyboard nav in ImGui causes the following issues -

  1. You need to temporarily disable navigation while alt is down in order to stop alt-tab (and other alt-combos) from being interpreted as menu alt.
  2. Keyboard nav on hierarchy can't be made to also change selected entity to my knowledge, meaning we have two active cursors, causing confusion.
  3. Alt+Up on hierarchy also ends up creating a menu alt, even with nav disabled.

Maybe a future version of ImGui will improve keyboard nav, but until then, the alternative might be to try to implement manually where it's needed (hierarchy and property grid).

Related reports -

ocornut/imgui#3560

@bryanedds
Copy link
Owner Author

bryanedds commented Oct 11, 2023

Most of the issues are relating to alt not playing well with imgui kb nav. Perhaps the best approach would be to simply not forward an alt key inputs to imgui and if gaia needs to check for alt state, do so with the engine's KeyboardState API. It's a bit hacky, but maybe it'll be a path forward.

EDIT: not sure if this will work since many non-US languages use alt for non-US characters.

@bryanedds bryanedds added the imgui issue originating from imgui* label Dec 7, 2023
@bryanedds bryanedds added the gaia issue relating to Gaia game editor label Jul 20, 2024
@bryanedds bryanedds mentioned this issue Jan 7, 2025
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gaia issue relating to Gaia game editor imgui issue originating from imgui*
Projects
None yet
Development

No branches or pull requests

1 participant