Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0 Beta 3
-
None
-
ee2ac69595d3f854f7bf7158e600091f2675fa18 (qt/qtdeclarative/5.12)
Description
This code works properly:
Item {
id: view
anchors.fill: parent
PointHandler {
onActiveChanged: console.debug("onActiveChanged:", active)
}
}
But if PointHandler was created dynamically it does not work:
Item {
id: view
anchors.fill: parent
Component.onCompleted: pointHandlerComponent.createObject(view)
Component {
id: pointHandlerComponent
PointHandler {
onActiveChanged: console.debug("onActiveChanged:", active)
}
}
}
Attachments
Issue Links
- is required for
-
QTBUG-71533 Many problems with Input Handlers on the touch screen
- Closed
For Gerrit Dashboard: QTBUG-71427 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
246321,12 | Add dynamically-created Event Handlers to the relevant handlers vector | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |