Describe the bug
On a Mac full screen windows are opened in a new desktop.
Because of that the parent window is not visible anymore and it causes a crash.
Also when you reduce the parent view the child view disappear as well.
To Reproduce
Example 1
- Run the example "multiple_viewports" from egui
- Click deferred or immediate, it happens for both.
- Reduce the parent window
- Both window disappear
example 2 full screen on MacOS crash
- Modify the example "multiple_viewports" from egui to open in full screen
- Run it
- Click deferred or immediate, it happens for both.
- Reduce the parent window
- Strange behavior of desktops being created then crash
Expected behavior
Should not crash or hide child window
Additional context
This is a regression appeared in that commit (not painting when window is hidden) 1b8a9fe
Describe the bug
On a Mac full screen windows are opened in a new desktop.
Because of that the parent window is not visible anymore and it causes a crash.
Also when you reduce the parent view the child view disappear as well.
To Reproduce
Example 1
example 2 full screen on MacOS crash
Expected behavior
Should not crash or hide child window
Additional context
This is a regression appeared in that commit (not painting when window is hidden) 1b8a9fe