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

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


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


This review has been submitted with commit 8d3055fb4a0455b7f01deae5801b4ba8f67abf3e by Ignat Semenov to branch master.

- 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/f4df4446/attachment-0001.html>


More information about the Plasma-devel mailing list