21

I use MATE on Fedora. At some point, the behavior of scrollbars on many applications has changed. When I click below a scrollbar, now the scrollbar jumps to where I clicked. Previously, it used to page down by one page (if I clicked anywhere below the current location of the scrollbar).

I preferred the old behavior. When on a very long page, the new behavior tends to make the scrollbar almost unusable: I can't control where I click precisely enough to control where the page jumps to.

Is there a way to regain the previous behavior? In other words, is there a way to make clicking on a scrollbar, below the current location of the scroll, to cause the window to go down by one page, rather than jumping to where I clicked?

This difference is most noticeable in Firefox, but is not limited solely to Firefox; it affects other applications, too.

17

I had the same issue on Firefox 48, and this answer worked for me:

Create ~/.config/gtk-3.0/settings.ini and add

[Settings]
gtk-primary-button-warps-slider = false

I'm using XFCE, but Firefox is reading that setting for some reason. It also worked with other Gnome 3 applications, such as gnome-todo.

After creating that file, I only had to restart Firefox and its behavior was modified (no need to reboot).

  • Works for Firefox 50 too. – Max Yudin Feb 5 '17 at 16:05
  • Thank you, they used to have a setting in about:config which they have taken away in later versions. you saved the day with this. – MitchellK Aug 15 '17 at 13:30
  • Thanks, this actually impacts most apps in Linux Mint Cinnamon, such as Nemo file manager, Terminal, Firefox, etc! – Shervin Emami Apr 15 at 6:12
  • this works in xubuntu, firefox 50. Thanks! – Mariano L Jun 8 at 16:03
11

You get the old page-up/down behavior via right-clicking on the scroll bar.

  • 1
    Is there any way to swap these actions in a config file? Make the old behaviour the default left-click, and make jump-to-location work with right-click? – Peter Flynn Dec 29 '17 at 22:43
6

I am not sure of the general case , but in FireFox, there is a configuration setting ui.scrollToClick=0 , which gives the behaviour you want.
If ui.scrollToClick=1 , then clicking the scrollbar will make it jump to that point.
Also, you can use shift-click for getting the opposite behaviour of the current FireFox setting.

  • 1
    Shift-click still working in 68.0, not ui.scrollToClick=0 – Laurent G Aug 21 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.