qt6-bb10/tests/auto/gui/kernel/qwindow
Frédéric Lefebvre 3a9c8665e5 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.5
Change-Id: I8e05ee7769de4efc2ac55ec7afbe366f76e325db
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 21ef8bed6d738551c1a322e78366d3c347a0e09e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e20364d6c92dc5b46cea3639a9bd4b744c07bf0c)
2025-02-20 16:21:26 +00:00
..
BLACKLIST tests: blacklist tst_QWindow::windowExposedAfterReparent() on u24.04 x11 2024-09-20 00:42:58 +00:00
CMakeLists.txt xcb: Implement native window helper for embeddedwindows/foreign window test 2023-09-12 02:47:24 +02:00
tst_foreignwindow.cpp iOS: Always call setParent during QIOSWindow construction 2024-05-08 19:51:25 +02:00
tst_qwindow.cpp Harden tst_QWindow::framePositioningStableAfterDestroy() 2025-02-20 16:21:26 +00:00