GNOME Bugzilla – Bug 607823
Snap into workspace when letting go the overview scrollbar
Last modified: 2010-02-11 19:09:30 UTC
In the linear workspace overview, it is currently possible to scroll halfway between two workspaces. This is hardly useful (except for moving windows, but see #607821), and confusing since you cannot see what workspace will be switched to when leaving the overview. On IRC, Jon proposed to keep the scrollbar smooth while dragging, but 'relax' or snap into a workspace when letting it go.
Created attachment 152077 [details] [review] [Overview] Snap to workspace when scrolling stops
There's a related problem with the current snapping behavior - currently when you are dragging, if you are near a workspace position the scrollbar "snaps" to the position - but if I have three workspaces then when the scrollbar snaps to the middle position, the workspace isn't always correctly aligned with the screen. It can be about 10-20% off. This seems to happen more if I am dragging slowly. (To be clear, this is a "while dragging" behavior - before I release the mouse.) It may be that if we add snapping when dragging stops that we just want to get rid of the snapping during dragging... that's why I'm mentioning the problem here.
What I meant by "relaxing" into the workspace is that it should move smoothly but quickly. I don't like the discontinuous snap.
Review of attachment 152077 [details] [review]: Marking needs-work based on Jon's comment
Created attachment 152878 [details] [review] [Overview] Snap to workspace when scrolling stops Fixed up patch: Avoid discontinuous snap as noted in comment #3 .
Created attachment 152883 [details] [review] [Overview] Snap to workspace when scrolling stops Remove useless change that broke scrollbar scrolling.
Comment on attachment 152883 [details] [review] [Overview] Snap to workspace when scrolling stops Doesn't work as intended.
*** This bug has been marked as a duplicate of bug 609673 ***