GNOME Bugzilla – Bug 747608
Scrollbar hiding / unhiding does not work with a stylus
Last modified: 2015-04-13 16:11:09 UTC
Hello all, I just noticed a rather big problem with gnome 3.16: The new scrolled window container automatically hides the scrollbars when the pointer leaves the widget and shows them again when the pointer reenters. I am using an X230T so I have both a trackpoint and a stylus. While everything works with the trackpoint the scrolled window does *not* react to the stylus entering/leaving the window. That is I can still click on everything in the window itselft but the scrollbars remain hidden. Maybe this is because the stylus uses absolute positioning. Anyways I am stuck without scrollbars while using my stylus which is a big problem for me. You can reproduce this using the scrolled window example from pygtk or anything similar. ax487
as a short-term workaround, if you set GTK_OVERLAY_SCROLLING=0 in the environment, scrollbars will be always present.
Created attachment 301458 [details] [review] scrolledwindow: Show scrollbars on tablet devices The code managing scrollbars visibility was too pervasively checking for mouse devices, leaving pen/eraser/cursor devices with no scrollbars at all. Relax these checks a bit, and actually toggle full-width scrollbars on pen/eraser devices, so it is an easier target.
Review of attachment 301458 [details] [review]: ok
Attachment 301458 [details] pushed as 71c0efb - scrolledwindow: Show scrollbars on tablet devices
Well, works for me :) Thanks