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 790677 - Cannot disable overlay scrollbars
Cannot disable overlay scrollbars
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkScrolledWindow
3.92.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-11-21 20:12 UTC by Andrew Oakley
Modified: 2018-06-05 20:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add gtk-overlay-scrollbar setting (3.13 KB, patch)
2017-11-21 20:13 UTC, Andrew Oakley
none Details | Review

Description Andrew Oakley 2017-11-21 20:12:25 UTC
Some users do not like the overlay scrollbars and want to disable them.  It used to be possible to do this with an environment variable, but this is no longer possible.

I think that adding a setting for this is a better thing to do, it seems like the same kind of option as gtk-enable-animations or gtk-primary-button-warps-slider.
Comment 1 Andrew Oakley 2017-11-21 20:13:39 UTC
Created attachment 364139 [details] [review]
Patch to add gtk-overlay-scrollbar setting
Comment 2 Daniel Boles 2017-11-21 20:16:17 UTC
Let's tag the right version. This was only dropped in GTK+ 4. Of course, it will remain in GTK+ 3.

That said, the comment in the commit removing the env var was:

>    This was never meant to be an official api, but rather
>    a transition help. Time to drop it for GTK+ 4.

so a setting seems unlikely.
Comment 3 Philip Withnall 2017-11-21 23:23:20 UTC
(Seems the default assignee for GtkScrolledWindow and GtkStatusIcon bugs is wrong. Changing the assignee to be the GTK+ default assignee rather than the GLib one.)
Comment 4 André Klapper 2017-11-22 13:29:30 UTC
[offtopic]
(In reply to Philip Withnall from comment #3)
> (Seems the default assignee is wrong.
Feel free to file a ticket about that against the Bugzilla product
Comment 5 Andrew Oakley 2017-11-22 18:12:14 UTC
Matthias, can you let me know why this bug has been closed?

Without an explanation I don't know if there is any way of getting a change upstream that will allow this behaviour to disabled.  There are other major UI issues that I'd like to get fixed too, but if there is an unwillingness to accept this kind of change then there is no point putting extra effort in to make the patch suitable for upstream.

In this case the code for proper scrollbars is still present and can be selected by applications so I assume it will continue to be maintained.  Allowing it to also be selected by the user doesn't make this significantly more complex.  The previous environment variable based method of disabling this didn't seem good, and I can understand wanting to remove that.
Comment 6 Emmanuele Bassi (:ebassi) 2017-11-22 18:20:39 UTC
(In reply to Andrew Oakley from comment #5)

> Without an explanation I don't know if there is any way of getting a change
> upstream that will allow this behaviour to disabled.

The explanation is in comment #2.

Programmatic access is still available in GTK+ 4, and I'm not aware of plans to remove the API.

What we will not add is a user-accessible toggle, or an environment variable. This is an application developer decision, not a toolkit setting. If the application developer wants to provide an application-specific setting and wire it to the GtkScrolledWindow API, it's entirely in their capacity to do so.

> There are other major
> UI issues that I'd like to get fixed too, but if there is an unwillingness
> to accept this kind of change then there is no point putting extra effort in
> to make the patch suitable for upstream.

Unless all those "major UI issues" involve the ability to disable overlay scrollbars, you should file bugs for those.
Comment 7 sam tygier 2018-02-06 09:21:06 UTC
The old style always visible scroll bars are much easier to use with a wacom tablet. It will be a loss to have them go.
Comment 8 Daniel Boles 2018-02-06 09:23:23 UTC
Who ever said they were going to "go"? The API to make an application use them is still there. Programs used frequently on tablets or such can take feature requests to have their own options to use non-overlay scrollbars.
Comment 9 sam tygier 2018-02-06 13:26:44 UTC
(In reply to Daniel Boles from comment #8)
> Who ever said they were going to "go"? The API to make an application use
> them is still there. Programs used frequently on tablets or such can take
> feature requests to have their own options to use non-overlay scrollbars.

So I just need to file a feature request against every gtk application that I use? And when I install GNOME I'll need to go into each application and enable it.
Comment 10 Daniel Boles 2018-02-06 13:30:21 UTC
I just wanted to correct the record that the ability to use overlay scrollbars is still there, albeit not accessible how people prefer(i.e. to rephrase Comment 6). Note that I personally would also like a setting for this, but that means nothing.
Comment 11 Elle Stone 2018-05-24 10:32:47 UTC
(In reply to Emmanuele Bassi (:ebassi) from comment #6)
> (In reply to Andrew Oakley from comment #5)
> 
> > Without an explanation I don't know if there is any way of getting a change
> > upstream that will allow this behaviour to disabled.
> 
> The explanation is in comment #2.
> 
> Programmatic access is still available in GTK+ 4, and I'm not aware of plans
> to remove the API.
> 
> What we will not add is a user-accessible toggle, or an environment
> variable. This is an application developer decision, not a toolkit setting.
> If the application developer wants to provide an application-specific
> setting and wire it to the GtkScrolledWindow API, it's entirely in their
> capacity to do so.
> 
> > There are other major
> > UI issues that I'd like to get fixed too, but if there is an unwillingness
> > to accept this kind of change then there is no point putting extra effort in
> > to make the patch suitable for upstream.
> 
> Unless all those "major UI issues" involve the ability to disable overlay
> scrollbars, you should file bugs for those.

I don't like overlay scrollbars. They aren't easy to use whether with mouse or with wacom tablet. It's not easy to get the mouse or stylus over the spot required to make the scrollbar reappear, and when it does reappear other stuff in the UI has to move to make room for it - visually *very* distracting.

At least in GTK+3 the very awful and user-unfriendly overlay scrollbars can be disabled by the user. But this bug report indicates that in GTK+4 the user's only recourse will be to beg and plead with the developers of each and every GTK application to please provide a way to disable overlay scrollbars. This is not a good thing! Please reconsider and reopen this bug report. 

Overlay scrollbars are a major inconvenience, a hindrance to smooth workflows. I see from perusing the internet that I'm not the only person to feel this way. 

Using or not using overlay scrollbars should be a user option, not something forced on users by developers.
Comment 12 Patrick May 2018-06-05 20:31:16 UTC
I depend on this feature. Removing options like this makes it harder for with visual impairment or other similar disabilities. I don't like it but it looks like I'm going to need to find Qt alternatives to all the GTK software I currently use.