On 07/24/2012 09:01 PM, Rick Stockton wrote: > Hi. This is WRT fix > https://codereview.qt-project.org/#change,30222,patchset=2 for 4.8 > declarative. > The changeset allows drag actions to occur with more 2D freedom, but it > steals the mouse (and prevents stealing by the parent "flickable") in > order to do so.
I don't think that the patch does anything evil to the grab. Even without it, you can still drag an item in a direction perpendicular to the flickable's axis. The only thing that the patch does is that it makes it possible to change the Drag.axis while the drag is still occurring; so that, for instance, once a ListView item has been dragged away from the parent ListView, we can allow it to be dragged everywhere on the screen. The issue is described here: https://bugreports.qt-project.org/browse/QTBUG-26440 Just try running the attached drag.qml file before and after the fix. Ciao, Alberto -- http://blog.mardy.it <- geek in un lingua international! _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
