D5490: Only follow mouse when moved (Fixes Bug #372635)
Leszek Lesner
noreply at phabricator.kde.org
Tue Apr 18 13:43:37 UTC 2017
leszeklesner added a comment.
In https://phabricator.kde.org/D5490#103059, @lfurmetz wrote:
> In https://phabricator.kde.org/D5490#103053, @anthonyfieroni wrote:
>
> > You can do this:
> >
> > property bool moved: false
> > onMovedChanged: if (moved) {
> > listView.currentIndex = index
> > }
> > onPositionChanged: {
> > ...
> > moved = true;
> > }
> >
>
>
> I tried this, but onPositionChanged doesn't fire for me at all in qt 4.8.0.. Is this a bug?
>
> Is it possible to attach the property __moved to the parent ListView dynamically, so it can be checked by all delegates?
See my updated patch. It moves the moved property to listView and works much better than the previous patch.
REPOSITORY
R112 Milou
REVISION DETAIL
https://phabricator.kde.org/D5490
To: leszeklesner, broulik
Cc: lfurmetz, anthonyfieroni, davidedmundson, plasma-devel, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170418/2f48c7f6/attachment.html>
More information about the Plasma-devel
mailing list