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
Hello!
First of all: I'm using ImGui version 1.62.
I discovered something weird when selecting a ImGui::ColorPicker3, then ImGui::InputText and then ImGui::ColorPicker3 again in my own project. Basicly the result was that the program crashed.
At first, I thought that I did something weird that might have caused it, but then I tried to do the same thing in the demo, and ended up with getting the same crash. The demo uses ImGui::ColorPicker4, but the result is the same.
How to reproduce:
Select the colorpicker in the demo (Under Widgets->Color/Picker Widgets):
Then select the textbox saying "Hello, world!" and has the label "input text" (under Widgets->Basic):
THEN, click on the colorpicker again.
The program will crash at the following place, if you experience the same as me:
Or as text:
void ImGui::MarkItemValueChanged(ImGuiID id)
{
// This marking is solely to be able to provide info for IsItemDeactivatedAfterChange().
// ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need need to fill the data.
(void)id; // Avoid unused variable warnings when asserts are compiled out.
ImGuiContext& g = *GImGui;
IM_ASSERT(g.ActiveId == id || g.ActiveId == 0);
g.ActiveIdValueChanged = true;
}
Call-stack:
Hope this describes the issue well enough :)
Robin
The text was updated successfully, but these errors were encountered:
…n a group, affecting ColorPicker (broken in 1.62). Made ActiveIdIsAlive track the actual ID to avoid incorrect polling in BeginGroup/EndGroup when the ID changes within the group. (#2023, #820, #956, #1875).
Hello!
First of all: I'm using ImGui version 1.62.
I discovered something weird when selecting a
ImGui::ColorPicker3
, thenImGui::InputText
and thenImGui::ColorPicker3
again in my own project. Basicly the result was that the program crashed.At first, I thought that I did something weird that might have caused it, but then I tried to do the same thing in the demo, and ended up with getting the same crash. The demo uses
ImGui::ColorPicker4
, but the result is the same.How to reproduce:
Select the colorpicker in the demo (Under Widgets->Color/Picker Widgets):
Then select the textbox saying "Hello, world!" and has the label "input text" (under Widgets->Basic):
THEN, click on the colorpicker again.
The program will crash at the following place, if you experience the same as me:
Or as text:
Call-stack:
Hope this describes the issue well enough :)
The text was updated successfully, but these errors were encountered: