MouseArea does not receive release event
Unsolved
QML and Qt Quick
-
The Demo code :
MouseArea{ id:btnTest anchor.fill:parent } Connections{ target:btnTest onPressed:console.log("===>Pressed") onCanceled:console.log("===>Canceled") onReleased:console.log("===>Released") onClicked:console.log("===>Clicked") onDoubleClicked:console.log("===>DoubleClicked") }
This demo program is running on our device . When we do click test, it can print the correct log correctly.
But when we do stress tests (quick, frequent hits), we find that sometimes there is a missing release event , We only received the press event . After that, we can't receive any events by clicking on this controlOur Device is a Linux Embedded device . used On Qt_5.8 . Arm platform.