Been tinkering with alot of parameters in about:config, but I finally a viable solution:

We all know that changing mousewheel.default.delta_multiplier_Any particular Axis values changes the minimum number of lines being scrolled

But what this does not change is the sensitivity of the smallest “fling” gesture when scrolling with a touchpad.

Here’s the values you want to alter when trying make the scrolling feel more “tighter” or more “Windows like” or to fix the issue described above:

set apz.fling_friction 0.002 --> 0.005

apz.fling_min_velocity_threshold 0.5 --> 1.5

the above will make the smooth scrolling with touchpad actually feel smooth and in control. As opposed to simply changing the delta multiplier values.

  • jungleben
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Holy cow I will test this later. My touchpad even on a regular DPI display goes crazy sometimes.

    • a1_15@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Yeah, this fix mainly mitigates the “looseness” when scrolling with a touchpad. min_velocity_threshold is the parameter that controls how kinetic the smallest fling is. The higher the value, the more tight it’ll be, i.e. the lesser the velocity of the minimum fling will be

      apz_fling_friction controls how long the effect of a complete fling lasts, how rough the scroll should be. Lowering the value will “lubricate” the scroll. Increasing it will do the opposite, which is what we did here.

      Mozilla really should have made these values the default, since HiDPI displays behave differently with touchpads on Linux than they do with Windows… And it’s not exactly easy for someone new to sit down and check different scroll related parameters to fix such annoying issues.