summaryrefslogtreecommitdiffstats
path: root/src/testlib/qttestglobal.h
diff options
context:
space:
mode:
authorFrédéric Lefebvre <[email protected]>2025-01-21 15:29:36 +0100
committerFrédéric Lefebvre <[email protected]>2025-07-08 16:52:49 +0200
commite0a44e10380d99fc9d8e1775aec52060961c6d6a (patch)
tree67cc3b5130a758188024dcc851cd727c5d64751a /src/testlib/qttestglobal.h
parent642251b56dcd659d996cb3f4497286127cfd1393 (diff)
Verify window's position is correct to fix flakiness when clickingHEADdev
tst_QWindow::testInputEvents() is flaky where the simulated click is sometimes not received by the window. This is caused by an incorrect framePosition, where the position of the window is taken instead. Remove the frame of the window and verify that the window's position has been updated by using the ensurePositionTopLeft() helper function. Include QtTest/private/qtesthelpers_p.h to use the helper function. Fix flaky tst_QWindow::testInputEvents on Opensuse Change-Id: Ie65a70e7a478ff2db60a11f6ef6419dac3489ee6 Reviewed-by: Axel Spoerl <[email protected]>
Diffstat (limited to 'src/testlib/qttestglobal.h')
0 files changed, 0 insertions, 0 deletions