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 607823 - Snap into workspace when letting go the overview scrollbar
Snap into workspace when letting go the overview scrollbar
Status: RESOLVED DUPLICATE of bug 609673
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-22 23:24 UTC by Sander Dijkhuis
Modified: 2010-02-11 19:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[Overview] Snap to workspace when scrolling stops (1.24 KB, patch)
2010-01-23 11:46 UTC, drago01
needs-work Details | Review
[Overview] Snap to workspace when scrolling stops (1.69 KB, patch)
2010-02-02 21:15 UTC, drago01
none Details | Review
[Overview] Snap to workspace when scrolling stops (1.24 KB, patch)
2010-02-02 22:07 UTC, drago01
needs-work Details | Review

Description Sander Dijkhuis 2010-01-22 23:24:36 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.
Comment 1 drago01 2010-01-23 11:46:34 UTC
Created attachment 152077 [details] [review]
[Overview] Snap to workspace when scrolling stops
Comment 2 Owen Taylor 2010-01-25 18:03:27 UTC
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.
Comment 3 William Jon McCann 2010-01-25 18:25:28 UTC
What I meant by "relaxing" into the workspace is that it should move smoothly but quickly.  I don't like the discontinuous snap.
Comment 4 Owen Taylor 2010-01-28 19:25:41 UTC
Review of attachment 152077 [details] [review]:

Marking needs-work based on Jon's comment
Comment 5 drago01 2010-02-02 21:15:48 UTC
Created attachment 152878 [details] [review]
[Overview] Snap to workspace when scrolling stops

Fixed up patch: Avoid discontinuous snap as noted in comment #3 .
Comment 6 drago01 2010-02-02 22:07:06 UTC
Created attachment 152883 [details] [review]
[Overview] Snap to workspace when scrolling stops

Remove useless change that broke scrollbar scrolling.
Comment 7 drago01 2010-02-02 23:28:24 UTC
Comment on attachment 152883 [details] [review]
[Overview] Snap to workspace when scrolling stops

Doesn't work as intended.
Comment 8 drago01 2010-02-11 18:56:58 UTC

*** This bug has been marked as a duplicate of bug 609673 ***