Nested Flickables with pressDelay flick incorrect Flickable
authorMartin Jones <martin.jones@jollamobile.com>
Sun, 25 Nov 2012 23:33:20 +0000 (09:33 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 26 Nov 2012 01:00:02 +0000 (02:00 +0100)
commit429af6244518172e19abf7fecd7112f26bac6b31
tree13d5f0f442556721929655ce315d72d73a4765e9
parent417403f803c03d177c8563878e06b95a15f0d4df
Nested Flickables with pressDelay flick incorrect Flickable

If the gesture is triggered within the pressDelay the outer Flickable
will always handle the gesture.  When the drag distance is exceeded
replay the press event to allow all Flickables an opportunity to
process the gesture normally.

Task-number: QTBUG-28189
Change-Id: I36912cc19a48c90ae7a9a430580a8f40071bd5fd
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
src/quick/items/qquickflickable.cpp
tests/auto/quick/qquickflickable/data/nestedPressDelay.qml
tests/auto/quick/qquickflickable/tst_qquickflickable.cpp