Saturday, February 24, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 10170  / 2 Years ago, sat, january 15, 2022, 3:57:16

I'm using a Laptop with Ubuntu 19.04, and while in Nautilus and Chromium I can get precise scrolling, it doesn't appear to be the case in Firefox. Here's a (short 30 second) demonstration video to show you what I mean: https://youtu.be/GeLQLZAp2lg



In Firefox, I have Smooth Scrolling, but not Precise Scrolling. In Chromium (and the Nautilus File Manager, and practically everywhere else) I have Precise Scrolling, as the video demonstrates.




  • uname -a: Linux MACHINE_NAME 5.0.0-16-generic #17-Ubuntu SMP Wed May 15 10:52:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  • Desktop Environment: Unity 7.5.0+19.04.20190304-0ubuntu1

  • Firefox version: `68.0b7 (64 bit)

  • Chromium version: 74.0.3729.169 (Official Build) Built on Ubuntu , running on Ubuntu 19.04 (64-bit)

  • Touchpad model (from xinput): DELL0767:00 06CB:7E92 Touchpad

  • Laptop model: Dell Inspiron 5567


More From » firefox

 Answers
1

This is a bug in upstream ("upstream" means, like, "original") Firefox. According to some sources this can be worked around by putting MOZ_USE_XINPUT2=1 to /etc/environment file, and rebooting (I tried exporting it directly in bash and running Firefox, but it didn't work for me, putting it to environment seems to work at least for the OP here).



For some reason I haven't found the upstream report about scrolling. I found though this report on launchpad that asks Ubuntu to package Firefox with MOZ_USE_XINPUT2=1 by default, which in turn has comments with links to some related upstream bugreports. FWIW, the reason they don't package it with the env. variable by default is summed up in one of comments by Nate Graham:




The problem is that setting the envar just substitutes some problems
with different ones:




  • Without this envar set, there is no touchscreen scrolling, and touchpad scrolling goes three lines at a time rather than
    pixel-by-pixel


  • With this envar set and a notification appears, touchpad scrolling is interrupted and mouse wheel scrolling stops working entirely until
    Firefox is de-focused and re-focused




The correct solution is to fix these bugs, not toggle between two
broken states



[#5402] Sunday, January 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
olltea

Total Points: 238
Total Questions: 115
Total Answers: 107

Location: Moldova
Member since Tue, Feb 7, 2023
1 Year ago
;