GNOME Bugzilla – Bug 678782
Auto scroll in DnD
Last modified: 2012-06-26 12:12:58 UTC
When moving the cursor close to the edge of the box, it should automatically scroll so user can drop on a widget which is not currently displayed.
Created attachment 217187 [details] [review] auto-scroll during DnD
Generally this looks good, but I'm unsure about using such a large area as 20% of the list to autoscroll. Seems easy to trigger by mistake. What do we do in other apps?
<cassidy> alex: so looks like GtkTreeView does have auto scroll code (I guess the Empathy code is legacy from Gossip). It's triggered when moving the cursor into the 30 pixels next to the edge. I can change my code to do that but then I think I'd drop scrolling speed as this area is too small to be able to control the speed properly
Created attachment 217276 [details] [review] auto-scroll during DnD
looks good, please commit
Attachment 217276 [details] pushed as fa76492 - auto-scroll during DnD