aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/sgengine/sgengine.qrc
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@jollamobile.com>2014-07-22 11:31:04 +1000
committerMartin Jones <martin.jones@jollamobile.com>2014-08-01 02:29:12 +0200
commit77d6aef4063a9bf18074609fc32d3ffeed88617c (patch)
treedb2037f26f2099b752071872f3fefadaad1f9fdd /examples/quick/scenegraph/sgengine/sgengine.qrc
parent54d32ff902292148bffa84b7fc94116d32d5d02b (diff)
Fix touch/mouse propagation bugs
Filtered mouse release was not delivered if another touch started after a touchMouseId was activated. This meant that any filters expecting a release event would not receive it if another touch was made before release of the touchMouseId. We prevented a touch becoming the touchMouseId in the child mouse filters if there were any existing touches. The normal event delivery, however, does not require a single touch. Further to the previous, a touch could become the touchMouseId, even if the initial press happened when there was an existing touchMouseId. This meant that a touch could turn into a mouse when the existing mouse event was released, resulting in a new touchMouseId which hadn't been through child mouse filters. Flickable delayed press should be sent via normal event processing, as other touch/mouse events are now delivered in this way. We often called childMouseEventFilter() multiple times for each event. This is bad because the gesture handling relies on claiming a gesture in one event, then stealing it in the next. Instead of sending touch to mouse candidate points already determined to be within the item bounds and already transformed, we sent all of the points to the mouse recipient. PinchArea did not store the starting position at the original touch points, so other items could pass the dragThreshold before PinchArea and steal a gesture meant for PinchArea. Task-number: QTBUG-40330 Change-Id: Ic0009c176d3d1cb7cff0b5eda076a2c3ca864136 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'examples/quick/scenegraph/sgengine/sgengine.qrc')
0 files changed, 0 insertions, 0 deletions