Skip to content

Docking nodes paint onto window title bars, and windows that are not docked are incorrectly colored #5709

@polyqubit

Description

@polyqubit

Version/Branch of Dear ImGui:

Version: 1.89
Branch: docking

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_opengl3.cpp + imgui_impl_glfw.cpp
Compiler: Visual Studio 2022
Operating System: Windows

My Issue/Question:

When dragging a window over a docking node, the node paints itself onto the window title bar until docked. This happens regardless of the number of windows. Additionally, undocked windows have a different color(brown) than the color that is set(black).

Screenshots/Video

image
image

ImGuiWindowFlags window_flags = 0;
window_flags |= ImGuiWindowFlags_NoCollapse;

ImGui::Begin("WindowA", nullptr, window_flags);
ImGui::End();

ImGui::Begin("WindowB", nullptr, window_flags);
ImGui::End();

ImGui::Begin("WindowC", nullptr, window_flags);
ImGui::End();

ImGui::Begin("testwindow", nullptr, flags);
ImGui::Button("dummy button");
ImGui::End();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions