Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.2, 5.15.1, 6.0
-
-
UI Bug Fixing Q1/2021
Description
When an Item is parented to the overlay of a Window and is handling touch events, then any unhandled mouse events that are synthesized do not make it to the item. This happens when the AA_SynthesizeTouchForUnhandledMouseEvents flag is set and is only appearing to happen on Android. To reproduce either a Bluetooth or cable connected mouse is needed. In the example, click in the window and then check the output. If the parent of the item is not the Windows's overlay then it works fine.
It works in a MultiPointTouchArea just fine, but in that case the previousX and previousY do not work so that might be related too.
Attachments
Issue Links
- depends on
-
QTBUG-90296 Enable device-agnostic pointer event handling in Qt Quick
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-86165 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
329557,4 | Overlay: grab rather than accepting on mouse press | dev | qt/qtquickcontrols2 | Status: NEW | 0 | 0 |
329757,1 | QQuickWindow: avoid touch->mouse synthesis after *->touch synthesis | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
329755,4 | AA_SynthesizeTouchForUnhandledMouseEvents: keep correct coordinates | dev | qt/qtbase | Status: MERGED | +2 | 0 |
329814,4 | Add device-agnostic virtual QQuickItem::pointerEvent() | dev | qt/qtdeclarative | Status: DEFERRED | 0 | 0 |
330004,2 | AA_SynthesizeTouchForUnhandledMouseEvents: keep correct coordinates | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |