GNOME Bugzilla – Bug 703443
dnd: Make the draggable much faster
Last modified: 2013-07-03 00:10:19 UTC
It turns out that picking a 3200x1200 scene on notebook chipsets every time the mouse is moved isn't exactly the fastest thing. Defer picking to an idle to ensure that it won't get in the way of keeping up with mouse events.
Created attachment 248198 [details] [review] dnd: Make the draggable much faster
Review of attachment 248198 [details] [review]: Nice idea. The subject is kind of odd (I though you wanted to let it move faster or something). Maybe something like "dnd: Pick on idle" ? Also probably worth doing something similar for XDND. ::: js/ui/dnd.js @@ +363,3 @@ + let target = this._dragActor.get_stage().get_actor_at_pos(Clutter.PickMode.ALL, + this._dragX, this._dragY); + // We call observers only once per motion with the innermost This is no longer true then (no longer gets called once per motion event).
Created attachment 248252 [details] [review] dnd: Make the draggable much faster It turns out that picking a 3200x1200 scene on notebook chipsets every time the mouse is moved isn't exactly the fastest thing. Defer picking to an idle to ensure that it won't get in the way of keeping up with mouse events.
Review of attachment 248252 [details] [review]: OK.
Attachment 248252 [details] pushed as 317b9a9 - dnd: Make the draggable much faster