Firefox missing scroll arrows

Anyone know how to get the arrows for the scroll bar on Firefox? On 42.3 I added the Mozilla repo and had the newest firefox at the time (57) which also had no arrows. I read somewhere about missing libraries for the new (at the time) Firefox and that being the reason for the missing arrows. However, upon updating to Leap 15, I still have no scroll arrows in Firefox, and I switched to the version in this release. Anyone know how to fix this? Thanks.

I never noticed that they were missing. I guess that’s because I use the scroll wheel. Maybe the mozilla.org people decided that they were not needed.

In any case, if you click above or below the scroll bar, it works the same as if there were arrows.

I guess they’ve been removed then. That’s kind of a pain for those of us on laptops, since we don’t have a scroll wheel. It isn’t really a problem most of the time, except if I happen to be on a really long page, in which case using the scroll bar moves way too fast. There’s no way to incrementally just scroll down slowly. The keyboard arrows work, I just would rather use the arrows in that situation. Oh well.

You could configure edge scrolling on the touchpad. That’s what I do, although I often just use the keyboard arrows instead.

Lack of these buttons is apparently a Gnome/GTK3 theming (mis)feature that’s over two years old. I found a solution over a year ago, ~/.config/gtk-3.0/gtk.css containing:

*{
-GtkScrollbar-has-backward-stepper: 1;
-GtkScrollbar-has-forward-stepper: 1;
-GtkScrollbar-has-secondary-backward-stepper: 1;
}

I read similar advice eg https://www.reddit.com/r/firefox/comments/4gd48b/scroll_bar_arrows/

Add to or create:

~/.config/gtk-3.0/gtk.css

Add the following:

.scrollbar {
  -GtkScrollbar-has-backward-stepper: true;
  -GtkScrollbar-has-forward-stepper: true;
 }

Then re-start firefox.

This fixed it. Thanks!

Another (better) approach is to replicate Gtk2 behaviour (where clicking at top or bottom of scroll bar results in incremental scrolling). This can be achieved by adding the following directive to the ‘[Settings]’ section of ~/.config/gtk-3.0/settings.ini

gtk-primary-button-warps-slider = false

No scroll arrows visible, but a gentle incremental scroll when clicking above or below the elevator. (Easier to use for those with no scrolling function on mouse or touchpad IMHO.)

I do that globally, in /etc/gtk-3.0/settings.ini. I haven’t been able to find a corresponding (global) location for gtk.css that works in KDE/TDE/KDE3.

gtk-primary-button-warps-slider = false

No scroll arrows visible, but a gentle incremental scroll when clicking above or below the elevator. (Easier to use for those with no scrolling function on mouse or touchpad IMHO.)
Unless something has changed lately, this only applies to other GTK3 apps. Firefox has its on about:config setting ui.scrollToClick.

My mouse prefs are always scroll a page. The buttons scroll a minimum amount (which used to be approximately one line, but was regressed a while back to about three lines), while the spaces above and below elevator scroll a page.