Review Request: Scroll automatically when touching the border with the rubberband

Commit Hook null at kde.org
Sat Mar 24 16:24:11 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104396/#review11810
-----------------------------------------------------------


This review has been submitted with commit 7d92a7d489e05ace0ed1f5aaf187ec93a9a7fcac by Ignat Semenov to branch KDE/4.8.

- Commit Hook


On March 24, 2012, 12:42 p.m., Ignat Semenov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104396/
> -----------------------------------------------------------
> 
> (Updated March 24, 2012, 12:42 p.m.)
> 
> 
> Review request for Plasma, Aaron J. Seigo and Fredrik Höglund.
> 
> 
> Description
> -------
> 
> Wehn dragging a rubberband over an icon view with a scrollbar, scroll the view automatically on touching the border with the mouse during drag.
> 
> I've had to mod stopAutoScrolling() and call it in IconView::wheelEvent() and AbstractItemView::scrollBarActionTriggered() to allow the user to stop the automatic scrolling on those events.
> 
> 
> This addresses bug 189350.
>     http://bugs.kde.org/show_bug.cgi?id=189350
> 
> 
> Diffs
> -----
> 
>   plasma/applets/folderview/abstractitemview.cpp 3debb70 
>   plasma/applets/folderview/iconview.h 0bd6dc0 
>   plasma/applets/folderview/iconview.cpp 36e640b 
> 
> Diff: http://git.reviewboard.kde.org/r/104396/diff/
> 
> 
> Testing
> -------
> 
> Tested, works.
> 
> Maybe we should also stop automatic scrolling if the user releases the LMB while scrollling automatically as a result of dragging the rubberband over the view border? Fredrik, what do you think?
> 
> 
> Thanks,
> 
> Ignat Semenov
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120324/94377e65/attachment.html>


More information about the Plasma-devel mailing list