Skip to content
Discussion options

You must be logged in to vote

Sadly, even with the longer version with runner params I don't get a popup.

You are hitting a small gotcha with popups in ImGui: "Popup identifiers are relative to the current ID stack, so OpenPopup and BeginPopup generally needs to be at the same level of the stack.".

It will get easier after these initial bumps, I'm certain of it :-)

open_popup("testing") keys the popup by GetID("testing") computed against the current ID stack. begin_menu("Help") pushes its own ID onto that stack, so the popup opened is registered under ID = hash("Help" + "testing").

Then begin_popup_modal("testing", ...) runs at the top‑level scope (the menu bar/menu has already ended), so it looks for ID = hash("tes…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@botkero
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by botkero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants