Qt 6.x : No more MouseButtonDblClick event inside QWidget on Android
Unsolved
Mobile and Embedded
-
Hello,
Since Qt 6.x versions, I don't see MouseButtonDblClick events in my application when it runs on Android.
On the other hand, these events are well created on Linux, macos, linux and Windows.When I switch to Qt 5.15.8, MouseButtonDblClick events are also correctly created on Android when you click twice on the screen...
I consulted the documentation but I don't see any change in this respect.
Any idea?
Francky
PS:More precisely, if I make a succession of double clicks on the screen, a MouseButtonDblClick signal is emitted, but only one time in ten. In most cases, it is a succession of MouseButtonPress and MouseButtonRelease that are emitted.)
D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonPress LeftButton pos=189,342 scn=189,342 gbl=189,342 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonRelease LeftButton pos=189,342 scn=189,342 gbl=189,342 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseMove pos=200,280 scn=200,280 gbl=200,280 dev=QPointingDevice("core pointer" Mouse id=1)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonPress LeftButton pos=200,280 scn=200,280 gbl=200,280 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonRelease LeftButton pos=200,280 scn=200,280 gbl=200,280 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseMove pos=192,286 scn=192,286 gbl=192,286 dev=QPointingDevice("core pointer" Mouse id=1)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonPress LeftButton pos=192,286 scn=192,286 gbl=192,286 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonRelease LeftButton pos=192,286 scn=192,286 gbl=192,286 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseMove pos=195,267 scn=195,267 gbl=195,267 dev=QPointingDevice("core pointer" Mouse id=1)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonPress LeftButton pos=195,267 scn=195,267 gbl=195,267 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonRelease LeftButton pos=195,267 scn=195,267 gbl=195,267 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonDblClick LeftButton pos=195,267 scn=195,267 gbl=195,267 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: ************************** QMouseEvent(MouseButtonDblClick LeftButton pos=195,267 scn=195,267 gbl=195,267 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: mouseDoubleClickEvent D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonRelease LeftButton pos=195,267 scn=195,267 gbl=195,267 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseMove pos=189,280 scn=189,280 gbl=189,280 dev=QPointingDevice("core pointer" Mouse id=1)) source=MouseEventSynthesizedByQt D test_arm64-v8a.so: event(): QMouseEvent(MouseButtonPress LeftButton pos=189,280 scn=189,280 gbl=189,280 dev=QPointingDevice("Android touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|Pressure|NormalizedPosition maxPts=10)) source=MouseE