diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2014-07-31 15:43:42 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2014-08-05 19:00:14 +0200 |
commit | 0a43c561891a46477c4e78f6a6d05fd9731ebb04 (patch) | |
tree | 9a157b9c7020b9796c948558d2fb1c1adfef77fd /src/quick/items/qquickflickable.cpp | |
parent | 4e65caefe608fb3c63a10b92e5bce38233da7926 (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: Id151e3847bc8d77c7b405b9c4d4d5747a6e33ed0
Task-number: QTBUG-27185# Please enter the commit message for your changes. Lines starting
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
Diffstat (limited to 'src/quick/items/qquickflickable.cpp')
-rw-r--r-- | src/quick/items/qquickflickable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickflickable.cpp b/src/quick/items/qquickflickable.cpp index ce2cedb7fc..9736559e92 100644 --- a/src/quick/items/qquickflickable.cpp +++ b/src/quick/items/qquickflickable.cpp @@ -2062,6 +2062,7 @@ bool QQuickFlickable::sendMouseEvent(QQuickItem *item, QMouseEvent *event) break; case QEvent::MouseButtonRelease: d->handleMouseReleaseEvent(mouseEvent.data()); + stealThisEvent = d->stealMouse; break; default: break; |