After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678782 - Auto scroll in DnD
Auto scroll in DnD
Status: RESOLVED FIXED
Product: egg-list-box
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: egg-list-box-maint
egg-list-box-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-25 11:16 UTC by Guillaume Desmottes
Modified: 2012-06-26 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
auto-scroll during DnD (2.76 KB, patch)
2012-06-25 11:18 UTC, Guillaume Desmottes
none Details | Review
auto-scroll during DnD (2.40 KB, patch)
2012-06-26 11:58 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2012-06-25 11:16:46 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.
Comment 1 Guillaume Desmottes 2012-06-25 11:18:25 UTC
Created attachment 217187 [details] [review]
auto-scroll during DnD
Comment 2 Alexander Larsson 2012-06-26 09:20:40 UTC
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?
Comment 3 Guillaume Desmottes 2012-06-26 11:43:11 UTC
<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
Comment 4 Guillaume Desmottes 2012-06-26 11:58:19 UTC
Created attachment 217276 [details] [review]
auto-scroll during DnD
Comment 5 Alexander Larsson 2012-06-26 12:01:02 UTC
looks good, please commit
Comment 6 Guillaume Desmottes 2012-06-26 12:12:55 UTC
Attachment 217276 [details] pushed as fa76492 - auto-scroll during DnD