zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
14.38k stars 341 forks source link

Linux Touchpad Smooth Scrolling #2000

Open tranquil-tr0 opened 4 hours ago

tranquil-tr0 commented 4 hours ago

Captchas

What happened?

In Zen Browser and Mozilla Firefox (no, this issue is not in both, paragraph 2 explains), scrolling on a touchpad is forced to be segmented, as would be expected behavior if the input device was a typical (not smooth scroll) mouse wheel. In Chromium browsers, this scrolling issue is not present (eg: scrolling is pixel-by-pixel at a normal speed in Brave Browser and Chrome).

However, in Mozilla Firefox, you can fix laptop smooth scrolling by passing MOZ_USE_XINPUT2=1 when launching firefox, and can be made persistent as a setting by running echo export MOZ_USE_XINPUT2=1 | sudo tee /etc/profile.d/use-xinput2.sh. As I understand it, zen browser is based on Firefox, so I assume that the issue is the same as the one there.

Reproducible?

Version

1.0.1-a.7

What platform are you seeing the problem on?

Linux

Relevant log output

No response

linear[bot] commented 4 hours ago

ZEN-1935 Linux Touchpad Smooth Scrolling