Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.0
-
None
Description
I have a QWebEngine widget application and sometimes if 3 or more fingers are used the browser reports in the javascript false touch information(TouchList, https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches)
I think the cause is that in qapplication.cpp translateRawTouchEvent function disregards touch points which have no target. The target is set using findClosestTouchPointTarget but that failed because the closest touch point is in this case is one which hasn't set yet a target. This happens if, in case of 3 touch points(0-2), point 1 and point 2 are pressed simultaneously and are closest to each other. If each press is a single event everything works just fine.
This has worked until commit: dad1e1494128ff963b2a38870c44081f493f1e54 ("Forward touchEvents to children inside QGraphicsProxyWidget') which changed the behavior for setting the target that this only happens if a valid closestWidget was found.
Attachments
Issue Links
- resulted from
-
QTBUG-67819 QGraphicsViewProxy does not propagate touch events to the child of the widget
- Closed