Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3.0
-
None
Description
QHoverEvent::globalPos() returns wrong value of QPointF(-1,-1) for QEvent::HoverEnter. This has most probably been introduced by fix of QTBUG-100324.
The problem lies in QApplicationPrivate::dispatchEnterLeave:
QHoverEvent he(QEvent::HoverEnter, localPos, QPointF(-1, -1), globalPos, QGuiApplication::keyboardModifiers());
should have been
QHoverEvent he(QEvent::HoverEnter, localPos, globalPos, QPointF(-1, -1), QGuiApplication::keyboardModifiers());