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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/9c9fb3f06f
                   |                            |e0d13c0b7d58ad9bd3224d463c7
                   |                            |86e
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from Vlad Zahorodnii <[email protected]> ---
Git commit 9c9fb3f06fe0d13c0b7d58ad9bd3224d463c786e by Vlad Zahorodnii, on
behalf of Ameen Al-Asady.
Committed on 13/10/2026 at 06:12.
Pushed by vladz into branch 'master'.

plugins/fullscreen: Capture the geometry before the change

The effect remembered the geometry before the last change itself, in
windowFrameGeometryChanged. That signal is emitted after the geometry has
already changed, so the effect also had to keep the geometry from one change
earlier (olderGeometry) and use it when the old and the new geometry have the
same size.

That older geometry can be on a different screen, for example when a session
restore script moves a window to another screen right before it goes
fullscreen. The window then appears to fly in from the previous screen.

windowFrameGeometryAboutToChange is emitted before the geometry changes (the
maximize effect uses the equivalent windowMaximizedStateAboutToChange). Use it
to remember the geometry before the change and drop olderGeometry.

M  +11   -8    src/plugins/fullscreen/package/contents/code/main.js

https://invent.kde.org/plasma/kwin/-/commit/9c9fb3f06fe0d13c0b7d58ad9bd3224d463c786e

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

Reply via email to