You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for reporting this!
Confirmed repro (was easier to repro by resizing the host window down so the menus would be pushed back toward the left), will investigate
…ested menus (broken in 1.83). (#4640)
Broken since 936f532
Weirdly chain-reaction caused by the fact following #4640 repro, the SourceWindow assignment in OpenPopupEx() picks Menu_04 before its closure. Value of SourceWindow since bda2cde#2517
Which while debugging also led me on a tangent of thinking the value of OpenPopupStack[n].SourceWindow may be inadequate for some uses since bda2cde and #2517, but actually it makes sense that it would record the last focused window here (the Colors menu, 4th in the stack in your gif). Right now I can't find another issue I'm just writing this down and linking the issues # for future reference.
Version/Branch of Dear ImGui:
Version: 1.84.2
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: win32 dx9
Compiler: vs2019
Operating System: Windows 10
My Issue/Question:
ImGui::FindWindowFocusIndex
IM_ASSERT(g.WindowsFocusOrder[order] == window);
window->Name: ##Menu_01
window->FocusOrder: 0
g.WindowsFocusOrder
Size: 4
[0]: Debug##Default
[1]: Hello, world!
[2]: Dear ImGui Demo
[3]: ##Menu_00
The release version doesn't crash, but it does force the 'Menu' to close.
Screenshots/Video
Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: