diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2014-07-31 15:39:02 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2014-08-06 01:41:22 +0200 |
commit | 579b773c39c6542b820f037c9a8133dd7c94d1bb (patch) | |
tree | 88225b9d9bb1db59c63a333e128fc9c961daca3e /src | |
parent | 9cbb6fab48f10522a012af8e535b1750a553a817 (diff) |
Fix Flickable mouse grab issue.
This issue cannot be reproduced on the desktop with a mouse (at least I
could not). It can however reliably be reproduced on iMX6 embedded hardware
with a touch-screen. It seems like the TS driver is reporting mouse events
with a much more coarse granularity than the USB mouse driver, which in turn
triggers this bug.
(Qt4's declarative, as well as Qt5's quick1 and 2 all have the same issue)
Change-Id: I01c9fc433a78d5f79518786783e24f3f93eaa50a
Task-number: QTBUG-27185
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeflickable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp index 3042dc14..4bcbea9e 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp @@ -1551,6 +1551,7 @@ bool QDeclarativeFlickable::sendMouseEvent(QGraphicsSceneMouseEvent *event) return true; } d->handleMouseReleaseEvent(&mouseEvent); + stealThisEvent = d->stealMouse; break; default: break; |