qt6-bb10/tests/auto/widgets/kernel/qwidget
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
..
.gitignore
BLACKLIST Remove focusProxyAndInputMethods from tst_QWidget 2022-10-06 10:49:16 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
geometry-fullscreen.dat
geometry-maximized.dat
geometry.dat
hellotr_la.qm Send the LanguageChange event to all top level windows, not just widgets 2020-02-18 22:11:30 +01:00
tst_qwidget.cpp QApplication: send QHoverEvents with correct scenePosition() 2022-10-23 09:28:45 +02:00
tst_qwidget_mac_helpers.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tst_qwidget_mac_helpers.mm Use SPDX license identifiers 2022-05-16 16:37:38 +02:00