Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0, 5.9, 5.10, 5.11
-
None
-
Windows 10 winrt x86
-
-
1faf5a36106ed55e7c15ad25d225ccf790b759d5
Description
When using multi-touch, the second touch generates two TouchPoint Pressed events.
The following message is printed on the console:
TouchPointPressed without previous release event QQuickEventPoint(valid:true accepted:false state:Pressed scenePos:QPointF(247.167,276.333) id:450 timeHeld:0)
Attached is a demo app that reproduces the problem. Please do:
1. Run app.
2. Touch with one finger and hold.
3. Touch with second finger.
4. Release touches.
You should see console output from the app that looks like:
qt.winrtrunner.app: TOUCH PRESSED 449 qt.winrtrunner.app: TOUCH PRESSED 450 qt.winrtrunner.app: TouchPointPressed without previous release event QQuickEventPoint(valid:true accepted:false state:Pressed scenePos:QPointF(247.167,276.333) id:450 timeHeld:0) qt.winrtrunner.app: TOUCH PRESSED 450 qt.winrtrunner.app: TOUCH RELEASED 450 qt.winrtrunner.app: TOUCH RELEASED 449
You can see that the DemoItem recevied two Pressed events for the second touch.