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 681286 - Show overlaid scrollbars when a pointing device isn't present
Show overlaid scrollbars when a pointing device isn't present
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkScrolledWindow
3.4.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
touch scrolling
Depends on:
Blocks:
 
 
Reported: 2012-08-06 10:16 UTC by Allan Day
Modified: 2014-10-21 08:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allan Day 2012-08-06 10:16:06 UTC
If there aren't any pointing devices (mouse, touchpad, etc) and there is a touchscreen, the standard scrollbars should be replaced with semi-transparent overlaid scrollbars.

See the design page for more details: https://live.gnome.org/GnomeOS/Design/Whiteboards/Scrolling#Tentative_Design
Comment 1 William Jon McCann 2013-03-26 18:52:24 UTC
One small clarification. I think mere presence isn't enough. What is more important is if the device is actually in use. We do similar things with showing the mouse cursor now.
Comment 2 Matthias Clasen 2014-10-05 03:52:41 UTC
A prototype can be found in bug 730730
Comment 3 Matthias Clasen 2014-10-05 17:46:56 UTC
Here is behaviors I'm seeing in firefox on OS X:

- when a mouse is connected, show a traditional, permanent scrollbar

- without a mouse, show a narrow, translucent indicator when scrolling is triggered with the touchpad or keynav (touchscreen too, I guess)

- the indicator fades out after a bit of inactivity

- when moving the pointer over the indicator (with the touchpad), the indicator grows wider, matching a regular scrollbar (still translucent)

- as long as the pointer is over the translucent scrollbar, it stays up and can be used as a scrollbar

- when plugging in a mouse, the permanent scrollbar appears on the first event from the device
Comment 4 Matthias Clasen 2014-10-05 23:46:05 UTC
I've pushed a prototype for this functionality to the wip/overlay-scrollbar branch
Comment 5 Bastien Nocera 2014-10-21 08:13:56 UTC
gtk3-demo's left-hand pane doesn't show any scrollbars, whether using touch or a touchpad. The overlay scroll works however. Is this related, or is it a theme bug?