GNOME Bugzilla – Bug 682537
Set the speed of the shield reveal from the speed of the mouse
Last modified: 2012-11-06 22:04:42 UTC
It should feel like the shield is gaining momentum from the drag action that is used to pull it up.
Created attachment 223077 [details] [review] ScreenShield: account for motion velocity when hiding the lock screen Switch from a ClutterDragAction to a ClutterGestureAction, that gives us the velocity of mouse motion at each step, and use it to compute the animation time for completing the hide gesture.
Was this fixed? I swore a patch like this was landed.
Not that I'm aware of. And code still "tries to use the same speed regardless of original position", so no.
Review of attachment 223077 [details] [review]: I'm quite sure this is going to need rebasing, but this looks fine to me. ::: js/ui/screenShield.js @@ +374,3 @@ +function clamp(x, a, b) { + return Math.max(Math.min(x, b), a); Could you copy the exact function from workspace.js?
Attachment 223077 [details] pushed as 797b1ff - ScreenShield: account for motion velocity when hiding the lock screen