It is indeed a common complaint/request as evidenced by the people talking 
about it in various places (blogs, reddit, etc.):
https://www.rojtberg.net/1569/switching-back-from-chrome-to-firefox/
https://www.reddit.com/r/linux/comments/72mfv8/psa_for_firefox_users_set_moz_use_xinput21_to/
https://hackido.com/2019/02/01/2019-02-01-firefox-with-touch/

I paste here again the upstream bug report as the link changed slightly: 
https://bugzilla.mozilla.org/show_bug.cgi?id=1207700
Recent comments in it (a year old) are fairly positive:
"I think we can enable the XInput2 for recent Gtk+ versions (say Gtk+ >= 3.20) 
as the related Gtk+ focus bugs was fixed but for XInput2 only. Also Fedora 
enables XInput2 by default and we don't have any user complains."
However there is a list of possible issues that need to be checked before 
moving on this:
https://bugzilla.mozilla.org/show_bug.cgi?id=1182700 (wheel scrolling issue 
when window not active)
https://bugzilla.mozilla.org/show_bug.cgi?id=1390795 (wheel scrolling issue 
when window not active)
https://bugzilla.mozilla.org/show_bug.cgi?id=1487882 (pdf zoom increments by 
10%)
https://bugzilla.mozilla.org/show_bug.cgi?id=1196777 (probably fixed)
https://bugzilla.mozilla.org/show_bug.cgi?id=1170342 (fixed)

Additionally, we need to check it works adequately when the synaptics
driver is enabled (I'm not sure but perhaps it's enabled by default on
Macbooks?).


Finally, I tried a couple more tweaks in about:config to make the scrolling 
experience smoother with a touchpad:
- disabling smooth scrolling: general.smoothScroll = false
OR
- enabling msdPhysics scrolling: general.smoothScroll.msdPhysics.enabled = true
I'm not yet entirely convinced by either and still have to test it more, 
especially with a mouse.

** Bug watch added: Mozilla Bugzilla #1207700
   https://bugzilla.mozilla.org/show_bug.cgi?id=1207700

** Bug watch added: Mozilla Bugzilla #1182700
   https://bugzilla.mozilla.org/show_bug.cgi?id=1182700

** Bug watch added: Mozilla Bugzilla #1390795
   https://bugzilla.mozilla.org/show_bug.cgi?id=1390795

** Bug watch added: Mozilla Bugzilla #1487882
   https://bugzilla.mozilla.org/show_bug.cgi?id=1487882

** Bug watch added: Mozilla Bugzilla #1196777
   https://bugzilla.mozilla.org/show_bug.cgi?id=1196777

** Bug watch added: Mozilla Bugzilla #1170342
   https://bugzilla.mozilla.org/show_bug.cgi?id=1170342

** Bug watch added: bugzilla.opensuse.org/ #1032003
   https://bugzilla.opensuse.org/show_bug.cgi?id=1032003

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1697122

Title:
  Package Firefox with MOZ_USE_XINPUT2=1 in environment to enable pixel
  scrolling with touchpad and touch gestures

Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu version:  Kubuntu 17.04
  Firefox version: 53.0.3+build1-0ubuntu0.17.04.2

  In Firefox, two-finger scroll gestures on a touchpad are interpreted
  as scroll wheel rotations, and the content scrolls three lines at a
  time. This is inappropriate behavior for touchpad scrolling; it should
  scroll pixel-by-pixel.

  Firefox already has the ability to do this, you just need to turn it
  on by running the program with MOZ_USE_XINPUT2=1 in the environment:
  for example, by running `MOZ_USE_XINPUT2=1 firefox`, or adding it to
  /etc/environment or something like that.

  Turning on this behavior yields a large usability improvement for
  laptop users. Therefore, I am proposing that MOZ_USE_XINPUT2=1 be
  permanently added to the packaging such that it's always present when
  Firefox runs. This is what Fedora does, and it results in a much
  improved experience for the laptop user.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1697122/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to