site  contact  subhomenews

Firefox scrollbar arrows restored

November 20, 2021 — BarryK

Awhile back, I fixed the gkt3 scrollbars. Firstly, restored scroll a window at a time:

https://bkhome.org/news/202010/oe-gcc-target-default-commandline-options.html

Secondly, restored the scrollbar arrows:

https://bkhome.org/news/202012/restore-arrows-to-gtk3-scrollbars.html

Firefox is OK with the first one, but ignores the second -- does not display the scrollbar arrows.

Alfons sent me an email this morning, reporting this. I looked at /home/firefox/.config/gtk-3.0, yep, the files are there, so the above two fixes should be in effect. A online search discovered that FF defaults to not displaying the scrollbar arrows, and it has to be turned on:

https://forums.linuxmint.com/viewtopic.php?t=330849

Quoting:

Type about:config in your address bar, hit Enter, say OK to the warning.
Then search for "scrollbar" and try changing some of the options there, like widget.non-native-theme.gtk.scrollbar.allow-buttons
There are some other options there too.

Yes, that did it. I have modified the "firefox-skeleton" PET to include this line in the prefs.js file:

user_pref("widget.non-native-theme.gtk.scrollbar.allow-buttons", true);

This appends to the prefs.js that I posted about recently:

https://bkhome.org/news/202111/tweaking-firefox-preferences.html      

Tags: easy