qt6-bb10/tests/auto/gui
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
..
image tst_QImage: fix discarded QFile::open() results 2025-01-01 04:02:36 +00:00
itemmodels QStandardItem: correctly set model during insertRows() 2025-01-15 00:10:00 +00:00
kernel Harden tst_QWindow::framePositioningStableAfterDestroy() 2025-02-20 16:21:26 +00:00
math3d tst_qmatrixnxn: Mark variable as unused to avoid compiler warning 2024-05-29 20:27:18 +02:00
painting Fix QTransform::quadToQuad() to work with QRectF 2025-01-03 05:52:46 +00:00
platform Tests: Reduce the number of module includes 2024-11-04 19:42:27 +00:00
qopengl QOpenGlContext: Always unset current context in doneCurrent() 2025-01-25 14:21:31 +00:00
qopenglconfig Change license for tests files 2024-02-04 09:56:42 +01:00
qvulkan Vulkan test: replace QVERIFY with appropriate QCOMPARE 2024-09-23 19:36:54 +00:00
rhi Revert "Skip Vulkan on Android in QRhi autotest" 2024-04-05 20:31:07 +00:00
text Don't include bearing of mid-string characters in max width 2025-01-16 11:57:47 +01:00
util QDesktopServices: clean up pre-Qt-6.6 code 2024-05-15 18:22:39 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00