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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/3dc5cee6b3
                   |                            |4792486b343098e55e7f2b90dfc
                   |                            |d00

--- Comment #15 from Vlad Zahorodnii <[email protected]> ---
Git commit 3dc5cee6b34792486b343098e55e7f2b90dfcd00 by Vlad Zahorodnii.
Committed on 15/05/2025 at 12:09.
Pushed by vladz into branch 'master'.

plugins/qpa: Send Move and Resize events for invisible windows

This is to ensure that QWindow size is properly synchronized with QMenu size.

If the QWindow screen changes (it can happen if the menu is going to appear
on a screen other than QGuiApplication::primaryScreen()), QWindow will call
QGuiApplication::processGeometryChangeEvent(). It may generate a resize event
and change the size of the QMenu.

If there's a follow up setGeometry() for the QWindow, a resize event must
be generated otherwise the QMenu will get stuck with a wrong size. QtXCB
operates in a similar fashion, it'll call handleGeometryChange() even though
the window is hidden.

M  +1    -1    src/plugins/qpa/window.cpp

https://invent.kde.org/plasma/kwin/-/commit/3dc5cee6b34792486b343098e55e7f2b90dfcd00

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

Reply via email to