diff options
author | Vlad Zahorodnii <[email protected]> | 2025-05-26 14:05:12 +0300 |
---|---|---|
committer | Vlad Zahorodnii <[email protected]> | 2025-05-27 18:11:03 +0300 |
commit | 4ddc7a1407c616063d9f1bc4896685ec7adf3aac (patch) | |
tree | a6912295832a0cae765b265bd9f9f823858326d9 /src/widgets/dialogs/qwizard.cpp | |
parent | 1ecbad8da9828dc561268d0fce8c24239f0a7f2d (diff) |
The QWaylandWindow::handleScreensChanged() function checks
window()->screen(), but QWindow's screen is updated asynchronously. It
can lead to the following issue:
- start on screen 1
- QWaylandWindow::handleWindowScreenChanged(screen 2): it'll update
the window geometry so the window position is at the top left corner
of screen 2
- QWaylandWindow::handleWindowScreenChanged(screen 1): it'll do nothing,
despite the fact that the geometry has to be updated
This change makes the delivery of WindowScreenChanged events sync, so
the QPA updates the window geometry as expected if the window moves back
and forth between two outputs.
This fixes misplaced popup menus in Konsole.
Change-Id: I5a200b33ef63c6082f54ee85667b7b1ab513335e
Reviewed-by: David Edmundson <[email protected]>
Diffstat (limited to 'src/widgets/dialogs/qwizard.cpp')
0 files changed, 0 insertions, 0 deletions