GNOME Bugzilla – Bug 689394
Swipe scrolling in workspace view occasionally ends up in intermediate position
Last modified: 2013-02-20 16:44:13 UTC
See screenshot.
Created attachment 230362 [details] Screenshot after ending swipe scroll
Did you update Clutter? There were some patches that landed in there.
Yes, but using the 3.8 moduleset. So those patches should probably land on the clutter-1.12 branch as well (unless the moduleset is switched to master)
I think it makes sense for gnome-shell master to track Clutter master, but let's ask Emmanuele in the morning.
For what it's worth, I'm still seeing this problem (and we started to track Clutter master a while ago)
You need to be using clutter-1.14, actually, because clutter master is dead. http://git.gnome.org/browse/clutter/commit/?id=75b521de6e3294bb612f08b1f191b0f75778d828 This commit fixes the issues I saw with swipe scrolling, but there could be another bug somewhere. Add logging to the pan-stopped signal handler?
Created attachment 236918 [details] [review] workspacesView: Treat 'gesture-cancel' the same as 'gesture-end' When a swipe scroll completes, we scroll the active workspace into view. This works fine if the gesture is completed properly by emitting 'gesture-end', but not when Clutter considers the gesture cancelled - in that case, the view remains stuck in an intermediate position. To fix, treat 'gesture-cancel' the same as 'gesture-end'.
Review of attachment 236918 [details] [review]: Aha. Nice catch.
Attachment 236918 [details] pushed as 420f010 - workspacesView: Treat 'gesture-cancel' the same as 'gesture-end'