summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qxkbcommon.cpp
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2025-01-02 10:03:39 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2025-02-17 18:20:14 +0100
commit21ef8bed6d738551c1a322e78366d3c347a0e09e (patch)
treecd2997dce922441ece7fa55e8ca65307b1ba9f2a /src/gui/platform/unix/qxkbcommon.cpp
parent280025fc7e97ad943ed2938f6434cadf94bd635f (diff)
Harden tst_QWindow::framePositioningStableAfterDestroy()
StablePosition was in some cases recording a wrong position, as it was taking the framePosition and considering it to be the widget's position. That erroneous position was then used to place the window, resulting in a correct position but a wrong framePosition. Wait and check for the window.geometry() and the window.frameGeometry() to be different. If not the frame has not been updated, or there is no frame when there should be one. The test will most likely fail because of this. Fix flakiness on Opensuse 15 Pick-to: 6.9 6.8 6.5 Change-Id: I8e05ee7769de4efc2ac55ec7afbe366f76e325db Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qxkbcommon.cpp')
0 files changed, 0 insertions, 0 deletions