-
-
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
Moving through nested menus can cause them to erroniously close #7325
Comments
Thank you for the report. Should be fixed 014e0ac. When moving from "A" to "B":
When moving from "B" to "A":
So I fixed the call to I was puzzled by why it didn't happen in the demo, but this requires:
Added test ocornut/imgui_test_engine@e4254ea |
I am actually still able to reproduce this on 1.90.4.. but only when the mouse is moving fast (skipping over items?) 2024-02-26.22-10-45.mp4 |
I can confirm there is an issue when trying to open a sibling menu two frames in a row. I'm investigating. |
I spent quite a few hours investigating what the proper solution was, and in the end I think this simple fix is the most correct thing to do: c3f8f4d I have amended the test for it : ocornut/imgui_test_engine@a35d13a Thanks again! Some info, when we close a popup via
|
Version/Branch of Dear ImGui:
Version 1.90.4 WIP (19031), Branch: master
Back-ends:
imgui_impl_win32.cpp + imgui_impl_dx11.cpp
Compiler, OS:
Windows 10 + MSVC
Full config/build information:
Details:
My Issue/Question:
I don't think I can describe this issue better than the title, please see the videos.
The same thing happens with any further level of nesting (always closes up to the same place, in this case "Nested2")
Introduced in commit 76e09c4 (part of 1.90.2)
Screenshots/Video:
2024-02-16.22-33-07.mp4
2024-02-16.22-32-33.mp4
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: