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 694287 - Fittsify scrollbars
Fittsify scrollbars
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: overview
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-20 16:36 UTC by Allan Day
Modified: 2017-04-22 12:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
theme: don't add horizontal padding to main scrolled views (946 bytes, patch)
2013-02-21 02:56 UTC, Cosimo Cecchi
none Details | Review
Revert "OverviewControl: simplify code to add bottom padding" (3.28 KB, patch)
2013-02-21 02:56 UTC, Cosimo Cecchi
none Details | Review
theme: make scrollbars bigger in views (1.03 KB, patch)
2013-02-21 02:56 UTC, Cosimo Cecchi
none Details | Review
overviewControls: don't set padding on the whole overview group (1.76 KB, patch)
2013-02-21 15:53 UTC, Cosimo Cecchi
reviewed Details | Review
theme: change the look of scrollbars in views (1.46 KB, patch)
2013-02-21 15:53 UTC, Cosimo Cecchi
reviewed Details | Review
overviewControls: don't set padding on the whole overview group (1.77 KB, patch)
2013-02-21 16:23 UTC, Cosimo Cecchi
committed Details | Review

Description Allan Day 2013-02-20 16:36:12 UTC
The scrollbars in the app view and search results run alongside the screen edge, but they can't actually be used when the pointer is touching that same edge. This makes them much more difficult to use.

A combination of moving the scrollbar to the right and extending the area where they can be interacted with is probably in order.
Comment 1 Giovanni Campagna 2013-02-20 16:54:29 UTC
The easy fix here is to move the scrollbar so that it touches the screen edge, but it would not look good probably.
We can also add a right padding to StScrollBar, but it would extend the scroll view area, rather then the actual scrollbar, so the scrolling would be reversed (like it happens on the inside of the scroll view).

Now, for the hard fix, we can add padding to StScrollBar, and move event handling there. Still, it would behave as if you clicked the through, not the handle, so if we want the full "ghost scrollbar" experience we need something more fancy and more complex, which I would be against, on technical grounds.
Comment 2 Cosimo Cecchi 2013-02-21 02:56:21 UTC
Created attachment 237008 [details] [review]
theme: don't add horizontal padding to main scrolled views
Comment 3 Cosimo Cecchi 2013-02-21 02:56:27 UTC
Created attachment 237009 [details] [review]
Revert "OverviewControl: simplify code to add bottom padding"

This reverts commit a187111a261e305525b5a855ecdc7a8b7f89c529.

We want views to extend to the bottom, and just adding padding to the
overview won't work.
Comment 4 Cosimo Cecchi 2013-02-21 02:56:31 UTC
Created attachment 237010 [details] [review]
theme: make scrollbars bigger in views
Comment 5 Cosimo Cecchi 2013-02-21 13:44:55 UTC
(In reply to comment #3)
> Revert "OverviewControl: simplify code to add bottom padding"
> 
> This reverts commit a187111a261e305525b5a855ecdc7a8b7f89c529.
> 
> We want views to extend to the bottom, and just adding padding to the
> overview won't work.

I know I accepted this patch myself, but I changed my mind and I think this is worth reverting even if we don't accept the other theme patches, as it prevents search results from properly extending to the bottom.
Comment 6 Jasper St. Pierre (not reading bugmail) 2013-02-21 14:36:27 UTC
Couldn't you add the padding to the dash and thumbnails (or possibly just the common container for the two) instead?
Comment 7 Cosimo Cecchi 2013-02-21 14:50:52 UTC
Sure that should work too. I just reverted that commit for this patch set as it was the quickest option.
Comment 8 Cosimo Cecchi 2013-02-21 15:53:19 UTC
Created attachment 237054 [details] [review]
overviewControls: don't set padding on the whole overview group

Set it on the control slider actor instead. At the same time, remove
bottom padding from search results actor.
Comment 9 Cosimo Cecchi 2013-02-21 15:53:26 UTC
Created attachment 237055 [details] [review]
theme: change the look of scrollbars in views

- don't add padding on the side of scrolled views
- make scrollbars larger in views
Comment 10 Jasper St. Pierre (not reading bugmail) 2013-02-21 16:15:47 UTC
Review of attachment 237054 [details] [review]:

Isn't there more than one sliding control? You need to use a style_class here if so.
Comment 11 Cosimo Cecchi 2013-02-21 16:23:18 UTC
Created attachment 237061 [details] [review]
overviewControls: don't set padding on the whole overview group

--

Now using a style class
Comment 12 Jasper St. Pierre (not reading bugmail) 2013-02-21 16:30:10 UTC
Review of attachment 237061 [details] [review]:

OK.
Comment 13 Cosimo Cecchi 2013-02-21 16:37:59 UTC
Comment on attachment 237061 [details] [review]
overviewControls: don't set padding on the whole overview group

Attachment 237061 [details] pushed as 656d24e - overviewControls: don't set padding on the whole overview group
Comment 14 Matthias Clasen 2013-03-12 13:44:16 UTC
What about the other patch here ?
Comment 15 Florian Müllner 2013-03-15 16:29:22 UTC
Review of attachment 237055 [details] [review]:

Personally I very much prefer the GTK+-like scrollbars we currently have, and I particularly dislike the scrollbars being visually attached to the monitor edge (but then I'm probably biased, as I use swipe scrolling / scroll wheel almost exclusively, so Fitts'ability is not much of an issue for me). Still, if the designers are OK with the visuals the patch is good to push with a freeze break exception.
Comment 16 Matthias Clasen 2013-03-16 18:42:01 UTC
ok, lets see if we can get some design review here.
Comment 17 Alexandre Franke 2017-04-22 12:27:00 UTC
Those scrollbars are gone now, closing as OBSOLETE.