-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Incorrect parent viewport ID #2409
Copy link
Copy link
Closed
Labels
Description
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):

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.

Reactions are currently unavailable