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 754745 - overlay scrollbar shouldn't hide when the slider is being grabbed
overlay scrollbar shouldn't hide when the slider is being grabbed
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkScrolledWindow
3.17.x
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-09-08 21:55 UTC by Lapo Calamandrei
Modified: 2015-09-16 17:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scrolledwindow: Set the scrollbar as "over" immediately during slider grabs (1.83 KB, patch)
2015-09-16 10:20 UTC, Carlos Garnacho
committed Details | Review

Description Lapo Calamandrei 2015-09-08 21:55:43 UTC
If you grab the slider and move the pointer out of the scrollbar while holding the button down, the scrollbar gets hidden. The scrollbar should remain visible and continue working while the slider is grabbed wherever the pointer is, the hiding timeout should start after the grab release.
Comment 1 Matthias Clasen 2015-09-13 05:23:14 UTC
I guess what you are seeing is the inactivity fade-out kicking in. Are you not moving the mouse (after moving it outside) ?
Comment 2 Carlos Garnacho 2015-09-16 10:20:43 UTC
Created attachment 311446 [details] [review]
scrolledwindow: Set the scrollbar as "over" immediately during slider grabs

Otherwise it's attempted through a timeout, which gets cancelled early after,
and the slider disappears after a while with no mouse activity despite the
ongoing implicit grab.

Once the grab is finished, check_update_scrollbar_proximity() will be called
again on both scrollbars, and the fade out animation will be triggered as a
result.
Comment 3 Matthias Clasen 2015-09-16 15:01:56 UTC
Review of attachment 311446 [details] [review]:

Works fine here
Comment 4 Carlos Garnacho 2015-09-16 17:15:48 UTC
Attachment 311446 [details] pushed as 5b6360e - scrolledwindow: Set the scrollbar as "over" immediately during slider grabs