-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Minor issues when navigating using the keyboard #5759
Comments
Not answering Problem 1 & 2 & 6 just yet, they are related and there's no simple answer but we should rework things and offer more options.
This has now been fixed (see #5606).
This is #3092 and I am hoping to address it soon.
I agree it seems like a bug, it is indeed a subset of #3092. I'll just go work on it instead of trying to elaborate on what is happening here :) |
Amazing, thank you :) |
Problem 4 and Problem 5 (tabbing) should now be fixed. What's left are 1,2,6 which are similar things to hopefully be addressed by 1.90.
|
Alright, I'll wait for v1.90 then! Forgot to mention, since I posted that issue, I joined the dark side of the force; I wrote bindings for imgui if you haven't noticed it already on the wiki. 😀 It's been painful in the beginning but rewarding in the end, I've even been able to pull out imgui docs so they're immediately available so one does not have to juggle with headers. But these are still available one mouse click away. 😁 Looking forward for the next big release, thanks! 🎯 |
Config/Build Information:
Version/Branch of Dear ImGui:
Version: 1.89 WIP
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Compiler: Visual Studio 2022
Operating System: Windows 10
My Issue/Question:
Correct me if I'm wrong, but there appears to be a few bugs when it comes to navigating with the keyboard.
Start the example in
imgui\examples\example_glfw_opengl3
.In the demo window, set
NavEnableKeyboard
totrue
.Then start the style editor.
Problem 1:
The Colors dropdown is not initially selected, you must navigate at least once with the arrows:
Problem 2:
If Colors is current keyboard navigation target, use the mouse to edit the value.
Once you've selected a new choice, the keyboard navigation adorner disappears.
However, the navigation is not broken, try use the arrows and it will navigate properly to another target.
Also, you can see its background highlighted, but as soon as you move the mouse, that highlighting disappears.
Problem 3:
If you compare the way you edit Colors and FrameRounding:
From end-user perspective, shouldn't Color be also editable by the same key that FrameBounding is?
Problem 4:
Navigating with Tab key is not on par compared to arrow keys.
It only navigates to editable fields, never navigates to buttons and tabs present in the window.
On the other hand, navigating with the arrows works perfectly and allows to visit any control.
Problem 5:
Navigate to WindowPadding X with the keyboard, press Tab to navigate to the next field which is WindowPadding Y, it navigates to FrameRounding instead.
Problem 6:
If you switch windows with Ctrl-Tab back and forth, the keyboard navigation adorner is restored.
But if you use the mouse to click to another window and click back the window again, the adorner is gone, trying to set
ConfigWindowsMoreFromTitleBarOnly
to try mitigate this doesn't really help.The text was updated successfully, but these errors were encountered: