BeginPopup called only once #4671
Replies: 5 comments 4 replies
-
Hello,
Are you sure the the exact code you posted here would exhibit the bug? That would be very surprising.
|
Beta Was this translation helpful? Give feedback.
-
I am pretty sure the code you posted should work. This should be enough of a hint that we can’t help you if you don’t reduce your issues to the minimum amount of code that reproduce the issue and verify it. Doing so most of the time you would solve the issue yourself.
Also you posted on the wrong location and the right location (issues) gives you exactly those instructions.
|
Beta Was this translation helpful? Give feedback.
-
I confirm that the code you posted (after fixing the compile error) works perfectly. |
Beta Was this translation helpful? Give feedback.
-
I understand, but I m in the case where I cannot post the complete code.
Even if my part of code is simple as I posted, I guess the problem is
linked to some interaction with other imgui based framework. Do you just
have an idea why the popup is working (almost) when the
imguiwindowflag_childwindow is used? Just to get a bone to chew 😊
Le lun. 25 oct. 2021 à 17:22, omar ***@***.***> a écrit :
… I confirm that the code you posted (after fixing the compile error) works
perfectly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4671 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAV62MCYD25H7UTF2EZVORTUIVYZXANCNFSM5GTHO5EA>
.
|
Beta Was this translation helpful? Give feedback.
-
@SadE54 if you could provide a snippet we could paste to example application and reproduce the issue we would be glad to investigate. Currently provided code is not really in such shape to allow us to reproduce the issue. |
Beta Was this translation helpful? Give feedback.
-
Hi ,
I have a strange behavior with 2 popups. One can be displayed correctly , and the other is only rendered once
Here's a simplified version of this code part :
In both cases , the corresponding openpopup is triggered correctly.
But only Popup 2 is rendered each frame once opened.
The ImGui::BeginPopup("popup1")) is called only once after ImGui::OpenPopup("popup1");
I really wondering what could cause such a behavior 🤔
PS: using 1.84 , DX9 , on win 10 x64.
Beta Was this translation helpful? Give feedback.
All reactions