Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.2, 5.7.1
-
None
-
Mac OS X Sierra 10.12.3
Description
1) add QQuickWidget to the MainWindow
2) implement "event" method to catch QNativeGestureEvent
3) call QNativeGestureEvent::pos();
expected result: pos is the same as for QMouseEvent for this widget
actual result: local pos is not in QQuickWidget coordinates
example application output:
mouse pressed on pos QPoint(5,3)
native gesture pos QPoint(232,120)
details:
call QQuickWidget::mapFromGlobal(QNativeGestureEvent::globalPos) works as expected