Skip to content
Commit c84f66df authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Show system settings window after it's been initialized

System Settings creates two toplevels when it starts on Wayland. The
issue seems to be caused by reparenting the main widget of the active
view.

When starting, System Settings will show itself to provide feedback,
load the view, and reparent its main widget to the stack view.

The problem occurs when reparenting the main widget to the stack view.
New RHI code paths will re-create the window handle.

On the other hand, it doesn't look like show() has any practical effect
as system settings window is shown and we immediately start loading the
view, which will block the main thread. SSDs are common nowadays too so
we can neglect plugin loading overhead too.

Therefore this change simply makes system settings window show up once
its content item has been initialized.
parent 5d9a26e8
Pipeline #343580 passed with stage
in 1 minute and 22 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment