Results 1 to 9 of 9

Thread: Firefox missing scroll arrows

  1. #1

    Default 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.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,621
    Blog Entries
    3

    Default Re: Firefox missing scroll arrows

    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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Firefox missing scroll 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.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,379
    Blog Entries
    1

    Default Re: Firefox missing scroll arrows

    Quote Originally Posted by z2 View Post
    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.
    You could configure edge scrolling on the touchpad. That's what I do, although I often just use the keyboard arrows instead.
    openSUSE Leap 15.0; KDE Plasma 5

  5. #5
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,691

    Default Re: Firefox missing scroll arrows

    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:
    Code:
    *{
    -GtkScrollbar-has-backward-stepper: 1;
    -GtkScrollbar-has-forward-stepper: 1;
    -GtkScrollbar-has-secondary-backward-stepper: 1;
    }
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,379
    Blog Entries
    1

    Default Re: Firefox missing scroll arrows

    I read similar advice eg https://www.reddit.com/r/firefox/com...ll_bar_arrows/

    Add to or create:

    Code:
    ~/.config/gtk-3.0/gtk.css
    Add the following:
    Code:
    .scrollbar {
      -GtkScrollbar-has-backward-stepper: true;
      -GtkScrollbar-has-forward-stepper: true;
     }
    Then re-start firefox.
    openSUSE Leap 15.0; KDE Plasma 5

  7. #7

    Default Re: Firefox missing scroll arrows

    Quote Originally Posted by mrmazda View Post
    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:
    Code:
    *{
    -GtkScrollbar-has-backward-stepper: 1;
    -GtkScrollbar-has-forward-stepper: 1;
    -GtkScrollbar-has-secondary-backward-stepper: 1;
    }
    This fixed it. Thanks!

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,379
    Blog Entries
    1

    Default Re: Firefox missing scroll arrows

    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
    Code:
    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.)
    openSUSE Leap 15.0; KDE Plasma 5

  9. #9
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,691

    Default Re: Firefox missing scroll arrows

    Quote Originally Posted by deano_ferrari View Post
    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
    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.

    Code:
    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.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •