-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Crash on Ctrl+Tab for DockSpaceOverViewport with PassthruCentralNode flag #4792
Copy link
Copy link
Closed
Description
Version/Branch of Dear ImGui:
Version: 1.86 WIP (18516)
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Compiler: MSVC
Operating System: Windows 10
My Issue/Question:
I want to use the ImGui::DockSpaceOverViewport function in my application, but it will cause crash when pressing Ctrl+Tab navigation key, i wonder if this is a bug or i didn't understand the usage of dockspace.
Screenshots/Video
Step to reproduce the issue based on the example_glfw_opengl3:
Code crashes here:
Standalone, minimal, complete and verifiable example:
Just add the following code to the main.cpp of example_glfw_opengl3 will reproduce the issue.
// show dock
ImGui::DockSpaceOverViewport(ImGui::GetMainViewport(), ImGuiDockNodeFlags_PassthruCentralNode);
Reactions are currently unavailable


