with_maximized
causes a second window to flash and close on startup before the main window opens
#5975
Labels
bug
Something is broken
Describe the bug
When using the
with_maximized(true)
option on theViewportBuilder
, There is a small flash when the application is started. This can be sometimes very noticeable or sometimes not at all, it depends on the computer speed. This means it's not noticeable when I plug my laptop into power, somewhat noticeable when it's on battery, and very noticeable on my older laptop which is slower.I recorded the behavior in front of a black fullscreen window at 10% speed:

Mp4 Video
maximised.mp4
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No flickering at the start.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: