Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.1
-
DELL XPS 157590, Windows 10
-
-
0b7ee7a48f (qt/qtdeclarative/dev) 0b7ee7a48f (qt/tqtc-qtdeclarative/dev) 0ca06764dc (qt/qtdeclarative/6.4) 0ca06764dc (qt/tqtc-qtdeclarative/6.4)
Description
Example code from PointHandler documentation:
import QtQuick 2.12 import QtQuick.Window 2.2 Window { width: 480 height: 320 visible: true Item { id: glassPane z: 10000 anchors.fill: parent PointHandler { id: handler acceptedDevices: PointerDevice.TouchScreen | PointerDevice.TouchPad target: Rectangle { parent: glassPane color: "red" visible: handler.active x: handler.point.position.x - width / 2 y: handler.point.position.y - height / 2 width: 20; height: width; radius: width / 2 } } } }
does't work correctly for touch screen. Movement of the finger after pressingg causes Handler's deactivatation and the red circle disappears. If the line with acceptedDevices is commented out and if you use a mouse and not a touch screen, everything works without a problem
Attachments
Issue Links
- resulted from
-
QTBUG-92944 input problems in DynamicTexture example
- Closed
- resulted in
-
QTBUG-111336 [REG 6.3->6.4] qtdeclarative/examples/quick/pointerhandlers/tabletCanvasDrawing.qml got broken again
- Reported