summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/deleteLater_noApp/.prev_CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-04-29 20:49:47 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-05-16 22:18:53 +0200
commitf6fdd91941de1cefb021b837ece77fec7363f23c (patch)
tree8442c503310dfcba278dac242814a0c07de6e617 /tests/auto/testlib/selftests/deleteLater_noApp/.prev_CMakeLists.txt
parenta8011cbe2a6c5608347f842e0b4d37a337568f49 (diff)
Tests/QWidget: fix hoverPosition test for openSUSE
On some xcb platforms the xcb_configure_notify_event_t is sent after the window is fully exposed which leads to a wrong position for QWidget::mapToGlobal(). In this case this results in a wrong position for QCursor::setPos() which lets the test fail. Fix it by waiting for a move event with a position != 0,0 before calling mapToParent/Global(). Pick-to: 6.7 6.5 6.2 Fixes: QTBUG-123998 Change-Id: Ic5e989c4497ccf3ed720a521f9d7e73632b4b1fc Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/deleteLater_noApp/.prev_CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions