qt6-bb10/tests/auto/widgets/kernel
Shawn Rutledge c3e2a624fb QApplication: send QHoverEvents with correct scenePosition()
The QHoverEvent ctor takes two points: pos and globalPos; pos is then
passed as both the scene and global pos to the QSinglePointEvent ctor,
which calls QMutableEventPoint::setScenePosition() on the persistent
QEventPoint instance and then detaches befeore setting ephemeral state.
Therefore, we must construct QHoverEvent with scene position first, not
local position, so that the right value is persisted; it's better to set
local position after the detach(), whereas it's too late to fix the
persistent point then.

Pick-to: 6.4
Fixes: QTBUG-106918
Change-Id: I45726a9ec05bba2fe0cde6f5fb87c269105caca6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-10-23 09:28:45 +02:00
..
qaction tests: skip tst_QAction::disableShortcutInMenuAction() on Wayland 2022-10-07 13:20:22 +02:00
qactiongroup Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qapplication Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
qboxlayout Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qformlayout Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qgesturerecognizer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qgridlayout tests: skip tst_QGridLayout::setMinAndMaxSize() on Wayland 2022-10-14 17:18:53 +02:00
qlayout Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qshortcut Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qsizepolicy Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qstackedlayout Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qtooltip Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qwidget QApplication: send QHoverEvents with correct scenePosition() 2022-10-23 09:28:45 +02:00
qwidget_window tests: skip tst_QWidget_window::mouseMoveWithPopup() on Wayland 2022-10-14 17:18:53 +02:00
qwidgetaction Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qwidgetmetatype Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qwidgetrepaintmanager Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qwidgetsvariant Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qwindowcontainer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00