https://bugs.kde.org/show_bug.cgi?id=465790

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/commit/5e16c3337e26 |ma/kwin/commit/82b2fa37c240
                   |6adcccce00cf698c679d5012fb4 |8bd86011376fddfe225d3fc5a1c
                   |8                           |d

--- Comment #49 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 82b2fa37c2408bd86011376fddfe225d3fc5a1cd by David Edmundson.
Committed on 21/03/2023 at 15:43.
Pushed by davidedmundson into branch 'master'.

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.

M  +1    -1    src/plugins/windowsystem/windoweffects.cpp
M  +1    -1    src/plugins/windowsystem/windowsystem.cpp
M  +1    -1    src/unmanaged.cpp

https://invent.kde.org/plasma/kwin/commit/82b2fa37c2408bd86011376fddfe225d3fc5a1cd

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to