Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.1
-
None
-
-
842b891ad (dev), 6583dd32c (6.8)
Description
MouseArea { onClicked: { console.log("clicked") } onPressAndHold: { console.log("pressAndHold") } onReleased: { console.log("released") } }
when holding, it only shows "pressAndHold" and on release it shows "released", and when singleclick it shows "clicked" and "released"... this is correct behaviour
TextField { onPressed: { console.log("pressed") } onPressAndHold: { console.log("pressAndHold") } onReleased: { console.log("released") } }
when holding, it first shows first "press" and after that it shows "pressAndHold" and on release it dost not show anything (it shall shows "released"), and when singleclick it shows "pressed" and "released"
In best case scenario, I would like the TextField to behave the same way as MouseArea... is this by design?
Attachments
For Gerrit Dashboard: QTBUG-120064 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
606732,12 | TextField does not emit released signal after pressAndHold | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
607647,2 | TextField does not emit released signal after pressAndHold | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |