qt6-bb10/tests/auto/widgets
Christian Ehrlicher f6fdd91941 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>
2024-05-16 22:18:53 +02:00
..
dialogs tst_QFileDialog2::dontShowCompleterOnRoot() remove setActiveWindow() 2024-04-26 18:59:53 +02:00
effects Change license for tests files 2024-02-04 09:56:42 +01:00
graphicsview QSizeF: add qFuzzyCompare and qFuzzyIsNull overloads 2024-05-14 14:33:21 +02:00
itemviews QTBUG14363_completerWithAnyKeyPressedEditTriggers remove setActiveWindo 2024-04-30 21:28:22 +02:00
kernel Tests/QWidget: fix hoverPosition test for openSUSE 2024-05-16 22:18:53 +02:00
styles QTBUG36933_brokenPseudoClassLookup() remove setActiveWindow() 2024-04-26 18:19:38 +02:00
util QCompleter: Hide popup when widget is hidden 2024-04-30 16:30:16 +00:00
widgets tst_QSpinBox::editingFinished() remove setActiveWindow() 2024-05-08 13:02:32 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00