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
Hi, I'm reporting a bug where going to column 0 with imgui.table_set_column_index(0) on a table fails, but imgui.table_next_column() works as intended. I'm using GLFW, Windows 11, Python 3.11.5, pyimgui.version = 2.0.0
Bugged table creation:
def begin_window(self):
with imgui.begin("Registers", False, flags = 0) as (_, self.state.wind_open):
with imgui.begin_table("RegEdit", 2, flags = imgui.TABLE_BORDERS) as self.state.regtable:
if self.state.regtable.opened:
imgui.table_setup_column("Name")
imgui.table_setup_column("Address")
imgui.table_set_column_index(0) #<----------------
imgui.text("Name!")
imgui.table_set_column_index(1)
imgui.text("0x201C")
Working table creation:
def begin_window(self):
with imgui.begin("Registers", False, flags = 0) as (_, self.state.wind_open):
with imgui.begin_table("RegEdit", 2, flags = imgui.TABLE_BORDERS) as self.state.regtable:
if self.state.regtable.opened:
imgui.table_setup_column("Name")
imgui.table_setup_column("Address")
imgui.table_next_column() #<----------------
imgui.text("Name!")
imgui.table_set_column_index(1)
imgui.text("0x201C")
Exception has occurred: ImGuiError
ImGui assertion error (SizeOfIDStack == window->IDStack.Size && "PushID/PopID or TreeNode/TreePop Mismatch!") at imgui-cpp/imgui.cpp:7244
File "C:\file.py", line 1536, in begin_window
imgui.table_set_column_index(0)
imgui.core.ImGuiError: ImGui assertion error (idx >= 0 && idx < _Count) at imgui-cpp/imgui_draw.cpp:1756
During handling of the above exception, another exception occurred:
File "C:\file.py", line 1531, in begin_window
with imgui.begin_table("RegEdit", 2, flags = imgui.TABLE_BORDERS) as self.state.regtable:
imgui.core.ImGuiError: ImGui assertion error (table->RowPosY2 == inner_window->DC.CursorPos.y) at imgui-cpp/imgui_tables.cpp:1194
During handling of the above exception, another exception occurred:
File "C:\file.py", line 1530, in begin_window
with imgui.begin("Registers", False, flags = 0) as (_, self.state.wind_open):
File "C:\file.py", line 1705, in on_frame
app_state.reg_w.begin_window()
File "C:\file.py", line 1629, in main_glfw
on_frame()
File "C:\file.py", line 1741, in
main_glfw()
imgui.core.ImGuiError: ImGui assertion error (SizeOfIDStack == window->IDStack.Size && "PushID/PopID or TreeNode/TreePop Mismatch!") at imgui-cpp/imgui.cpp:7244
The text was updated successfully, but these errors were encountered:
Hi, I'm reporting a bug where going to column 0 with imgui.table_set_column_index(0) on a table fails, but imgui.table_next_column() works as intended. I'm using GLFW, Windows 11, Python 3.11.5, pyimgui.version = 2.0.0
Bugged table creation:
Working table creation:
The text was updated successfully, but these errors were encountered: