Skip to content

Incorrect parent viewport ID #2409

@rick-de-water

Description

@rick-de-water

Version/Branch of Dear ImGui:

Version: 1.69 WIP
Branch: docking

Back-end/Renderer/Compiler/OS

Back-ends: Custom
Compiler: Visual Studio 2017
Operating System: Windows

My Issue/Question:

As you can see in the following screenshot, all viewports get the main viewport as their parent, even though the tooltip (viewport #4) should be a child of the demo window (viewport #3):
image

In practice this can result in some incorrect behaviour with the operating system's window manager. When applying this parenting in Windows it will cause undesired Z-ordering, moving the tooltip as well as the main viewport in front of the demo window.
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions