diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2014-07-31 13:12:45 (GMT) |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2014-08-06 18:41:52 (GMT) |
commit | bfa0be8a1bf68200f1ba98888deff4a9215ee066 (patch) | |
tree | 325de2ef28abf17e84c1255821132f971f960c5b /src/declarative | |
parent | bb0239e9b3c0b1d00255ef9dfbb36c1ba4e2d123 (diff) | |
download | Qt-bfa0be8a1bf68200f1ba98888deff4a9215ee066.zip Qt-bfa0be8a1bf68200f1ba98888deff4a9215ee066.tar.gz Qt-bfa0be8a1bf68200f1ba98888deff4a9215ee066.tar.bz2 |
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.
(Qt5's quick1 and 2 both have the same issue)
Change-Id: Id151e3847bc8d77c7b405b9c4d4d5747a6e33ed0
Task-number: QTBUG-27185
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
Diffstat (limited to 'src/declarative')
-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 53a6497..95bf8ef 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp @@ -1550,6 +1550,7 @@ bool QDeclarativeFlickable::sendMouseEvent(QGraphicsSceneMouseEvent *event) return true; } d->handleMouseReleaseEvent(&mouseEvent); + stealThisEvent = d->stealMouse; break; default: break; |