Qt Declarative (Quick 2)
Go to file
Shawn Rutledge 26e99aeacd PathView: grab mouse on press if already moving
A side effect of 8fd398c9d2 is that it
became possible for the highlight to stop between items, rather than
snapping to a specific item, if the user taps, clicks or drags an
additional time while the movement is ongoing.  That was because it
didn't get a mouse grab, so it missed the release event.
QQuickPathViewPrivate::handleMouseReleaseEvent() needs to take care of
the snapping behavior after the user stops dragging.  This only affects
behavior in the case that the PathView is already moving and the mouse
is pressed again: we assume the user wants to alter the PathView's
velocity, not interact with any delegate inside or with any parent item.

Task-number: QTBUG-77173
Task-number: QTBUG-59620
Change-Id: I7b2f69a6ef8d8022d7c917a5bf9e8fb40c8848db
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit e2df4233a7)
2019-10-09 13:08:17 +02:00
config.tests/d3d12 D3D12: Support translucent windows via DirectComposition 2016-07-14 13:05:13 +00:00
dist Merge remote-tracking branch 'origin/5.12' into 5.13 2019-09-12 19:49:23 +02:00
examples Doc: Correct link error Package type 2019-10-01 12:46:27 +02:00
features Add the skeleton for a D3D12 backend 2016-02-19 14:51:37 +00:00
src PathView: grab mouse on press if already moving 2019-10-09 13:08:17 +02:00
tests PathView: grab mouse on press if already moving 2019-10-09 13:08:17 +02:00
tools Merge remote-tracking branch 'origin/5.12' into 5.13 2019-08-05 13:47:15 +02:00
.gitattributes Update the git-archive export options 2012-09-10 14:24:05 +02:00
.gitignore Add .qmake.stash to .gitignore 2019-05-03 08:46:51 +00:00
.gitmodules Update to the latest version of the ecmascript test suite 2018-04-26 20:26:36 +00:00
.qmake.conf Bump version 2019-07-01 16:01:36 +02:00
.tag Update the git-archive export options 2012-09-10 14:24:05 +02:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.GPL2 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3-EXCEPT Updated license headers 2016-01-20 11:46:25 +00:00
LICENSE.LGPL3 Updated license headers 2016-01-19 14:53:18 +00:00
configure.json Convert qtdeclarative over to use the new configure system 2016-10-10 14:11:39 +00:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00
qtdeclarative.pro Convert qtdeclarative over to use the new configure system 2016-10-10 14:11:39 +00:00
sync.profile Move QtQuick.Shapes implementation to qtquickshapes, privately exported 2018-06-21 12:29:09 +00:00