FF 116 Scrollbar Buttons Gone
Prior to Firefox 116, I could have the normal scrollbar up and down buttons showing by making:
widget.non-native-theme.gtk.scrollbar.allow-buttons True
But now it seems to have no effect. This is under Linux/Mint/Cinnamon. Also, now long-pressing is doing smooth scrolling (I never want smooth scrolling anywhere) and can't find a way to stop that.
I have these set from before:
widget.gtk.overlay-scrollbars.enabled false widget.non-native-theme.gtk.scrollbar.round-thumb false widget.non-native-theme.gtk.scrollbar.thumb-size .85 widget.non-native-theme.scrollbar.size 14 widget.non-native-theme.scrollbar.size.override 14 general.smoothScroll false general.smoothScroll.other false general.smoothScroll.lines false general.smoothScroll.pages false general.smoothScroll.pixels false general.smoothScroll.mouseWheel false mousewheel.system_scroll_override.enabled false toolkit.scrollbox.smoothScroll false ui.scrollToClick 0
Any suggestions appreciated.
Seems like it is always a fight retaining usable scrollbars in Firefox that do not hide, do not change size on mouse-over, do not "warp" on left click, do warp on center click, have a thumb that shows page size, have a background that is not white, and are not microscopic in size! Just call me "traditional" :)
Thanks
Penyelesaian terpilih
To get scrollbar buttons on my Linux system, I had to add the following to the file ~/.config/gtk-3.0/gtk.css. I'm using KDE so the file may be elsewhere on your DE. If you don't have it, you can create it. I think you would have to restart the browser at least and probably log out or reboot after making the change.
scrollbar { -GtkScrollbar-has-backward-stepper: true; -GtkScrollbar-has-forward-stepper: true; }Baca jawapan ini dalam konteks 👍 1
All Replies (8)
Did you miss this pref?
- widget.non-native-theme.gtk.scrollbar.allow-buttons = true
- https://searchfox.org/mozilla-release/source/modules/libpref/init/StaticPrefList.yaml#15305
cor-el said
Did you miss this pref?
- widget.non-native-theme.gtk.scrollbar.allow-buttons = true
That was the first one I listed in my question :)
OK, I missed that and only looked at the list further down. Your Firefox version might be overriding these settings.
You can try Firefox from the official Mozilla server if you currently use a version from the repositories of your Linux distribution to see if it behaves differently.
Penyelesaian Terpilih
To get scrollbar buttons on my Linux system, I had to add the following to the file ~/.config/gtk-3.0/gtk.css. I'm using KDE so the file may be elsewhere on your DE. If you don't have it, you can create it. I think you would have to restart the browser at least and probably log out or reboot after making the change.
scrollbar { -GtkScrollbar-has-backward-stepper: true; -GtkScrollbar-has-forward-stepper: true; }
cor-el said
OK, I missed that and only looked at the list further down. Your Firefox version might be overriding these settings. You can try Firefox from the official Mozilla server if you currently use a version from the repositories of your Linux distribution to see if it behaves differently.
I am using the official vanilla version. https://ftp.mozilla.org/pub/firefox/releases/
Terry said
To get scrollbar buttons on my Linux system, I had to add the following to the file ~/.config/gtk-3.0/gtk.css. [...]
Bingo/Excellent! Thanks for that. I decided to go a bit further and researched and then did this:
scrollbar, scrollbar button, scrollbar slider {
-GtkScrollbar-has-backward-stepper: true; -GtkScrollbar-has-forward-stepper: true; min-width: 10px; min-height: 10px; border-radius: 0;
}
Restarting just Firefox worked! As a bonus, this fixed things better in LibreOffice as well. They certainly don't make this stuff very easy or straight-forward for users.
crxssi said
Also, now long-pressing is doing smooth scrolling (I never want smooth scrolling anywhere)
This has been fixed in version 117 which is currently in Beta (Bug 1847716).
zeroknight said
crxssi said
Also, now long-pressing is doing smooth scrolling (I never want smooth scrolling anywhere)This has been fixed in version 117 which is currently in Beta (Bug 1847716).
Wow, indeed you are correct:
https://bugzilla.mozilla.org/show_bug.cgi?id=1847716
Glad to know I am not the only one who found/noticed the problem, and that it is already fixed. Some of us really, really hate smooth scrolling and other animation. It goes beyond just annoying because it can also greatly slow down responsiveness when running applications remotely. It is a shame that such settings can't reliably be applied universally in Linux, but it is kinda the nature of having choice in so many aspects (desktop, window manager, toolkits, applications, etc). Thanks