-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0 Beta 3
-
None
-
Dell XPS 15 9560
-
358a72b6ecd0fef69edf5355f299af10225a6c8b (qt/qtdeclarative/5.12.1)
In the documentation of PointHandler you can read that it "can be used to show feedback about a touchpoint" for example with using it in the "glass pane"
Unfortunately, this is not possible with more of Point Handlers.
If you touch it with three fingers exactly at the same time, only one (or even none) PointHandler will be active. If we start with only one finger, then we can add next and everything works ok. Try it with the following example:
Item {
id: glassPane
z: 10000
anchors.fill: parent
PointHandler {
id: ph1
target: Rectangle {
parent: glassPane
visible: ph1.active
x: ph1.point.position.x - width / 2
y: ph1.point.position.y - height / 2
width: 140
height: width
radius: width / 2
color: "orange"
opacity: 0.3
}
}
PointHandler {
id: ph2
target: Rectangle {
parent: glassPane
visible: ph2.active
x: ph2.point.position.x - width / 2
y: ph2.point.position.y - height / 2
width: 140
height: width
radius: width / 2
color: "orange"
opacity: 0.3
}
}
PointHandler {
id: ph3
target: Rectangle {
parent: glassPane
visible: ph3.active
x: ph3.point.position.x - width / 2
y: ph3.point.position.y - height / 2
width: 140
height: width
radius: width / 2
color: "orange"
opacity: 0.3
}
}
}
- is required for
-
QTBUG-71533 Many problems with Input Handlers on the touch screen
-
- Closed
-
| For Gerrit Dashboard: QTBUG-71431 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 248087,3 | Windows QPA: Fix touch message queue handling | 5.12.1 | qt/qtbase | Status: MERGED | +2 | 0 |
| 248111,5 | PointHandler: distribute simultaneous touch presses properly | 5.12.1 | qt/qtdeclarative | Status: MERGED | +2 | 0 |