qt5base-lts/tests/auto/widgets
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
..
dialogs tests: skip tst_QDialog::showAsTool() on Wayland 2022-10-07 13:20:13 +02:00
effects Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
graphicsview tests: skip tst_QGraphicsProxyWidget::bypassGraphicsProxyWidget() on Wayland 2022-10-21 13:58:19 +02:00
itemviews Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
kernel QApplication: send QHoverEvents with correct scenePosition() 2022-10-23 09:28:45 +02:00
styles Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
util tests: skip tst_QCompleter::showPopupInGraphicsView() on Wayland 2022-10-14 17:18:53 +02:00
widgets Fix bool comparison in tst_qopenglwidget.cpp 2022-10-23 00:14:15 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00