Closed Bug 1792211 Opened 4 years ago Closed 4 years ago

Respect libinput Natual Scrolling feature

Categories

(Core :: Panning and Zooming, defect)

Firefox 105
Unspecified
Linux
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: wilson.jim.r, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0

Steps to reproduce:

  1. Upgraded from Ubuntu 20 to 22.
  2. Firefox automatically migrated from apt package to snap package.
  3. Open Firefox, navigate to a page with more content than can fit on screen.
  4. Attempt to use two-finger drag on the touchpad to scroll vertically.

Actual results:

Scroll direction is inverted (scrolls frame, not content).

Expected results:

Scroll direction should match finger swipe direction. This is called Natural Scrolling in the Ubuntu Mouse & Touchpad settings.

Workaround:

  1. Open about:config.
  2. Search for preference mousewheel.default.delta_multiplier_y
  3. Edit value, change from 100 to -100.
  4. Restart Firefox.

Natural Scrolling should now work.

The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Panning and Zooming
Product: Firefox → Core

Is this Natural Scrolling a new feature in Ubuntu 22, or did it work in Ubuntu 20 and was broken by the upgrade?

It looks like it's a feature provided by libinput. From libinput man page;

  libinput Natural Scrolling Enabled
         1 boolean value (8 bit, 0 or 1). 1 enables natural scrolling
Summary: Natural Scrolling system setting not honored on Ubuntu 22 → Respect libinput Natual Scrolling feature
OS: Unspecified → Linux

Update: is a Firefox bug. The problem was a conflict between xserver-xorg-input-libinput and xserver-xorg-input-synaptics. After upgrading from Ubuntu 20 to 22, both packages were installed. Removing the later and rebooting fixed the issue. Workaround no longer required.

See: https://askubuntu.com/questions/907279/enable-natural-scrolling-on-ubuntu-17-04-with-gnome-shell/907847#907847

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID

*is NOT a Firefox bug

You need to log in before you can comment on or make changes to this bug.