Skip to content
Commit 715f4147 authored by David Edmundson's avatar David Edmundson Committed by Vlad Zahorodnii
Browse files

Avoid accidental creation of backing stores for offscreen surfaces

Aurorae decorations and several effects are powered by QQuickWindows
that render into offscreen surfaces.

Iterating through all windows and then calling winId() will create a
platform window including for our Aurorae decorations.

Not only is this wasteful but it caused an issue with resizing windows.
QWindow code updates the internal state directly if there's no
underlying platform window, if there is it delegates responsiblity to
the backend. Our own QPA didn't update geometry whilst hidden.

The result of that is Aurorae decorations "randomly" stop resizing
correctly as the contentItem stops resizing to the window size.

BUG: 465790
(cherry picked from commit 82b2fa37)
parent 4c8d6941
Pipeline #360527 passed with stage
in 10 minutes and 48 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