Open eclbtownsend opened 4 years ago
Some additional testing notes (because i'm always skeptical of SDL2), This issue was first noticed on SDL2 backend with OpenGL3 Renderer but I decided to try this out in the latest revision of the docking branch on different renderer/platform combinations in the examples folder:
Thank you Brandon for the report, I have confirmed those now. It looks like they are two very different issues.
Issue 1: Modal going behind The Win32 back-end honor parent<>child relationship which are applied at the OS level. I don't have GLFW/SDL expose this so one solution would be to hardcode workaround on a per OS basis (it wouldn't be tempting to do it for Windows).
Regardless of this, the secondary issue at hand is that we are not able to move/resize the whitened window or select the underlying windows with ALT-TAB.
Issue 2: Gray overlay on child popup Should hopefully be easier to fix.
Thanks for taking a look!
My Issue/Question:
When a modal window is hosted within a shared viewport, everything works fine. However, if the modal window escapes into a single-window viewport, two main issues begin to happen:
Screenshots/Video
Standalone, minimal, complete and verifiable example: (see https://github.com/ocornut/imgui/issues/2261)