bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Disable smooth scrolling on devices that use precision trackpads

NEW
Unassigned

Status

()

Core
Widget: Win32
P2
normal
3 years ago
11 months ago

People

(Reporter: phlsa, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

40 Branch
Unspecified
Windows
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: tpi:+)

As noted in bug 1166734, the scroll performance of Firefox is far worse than Edge (or even Chrome) on devices that are using a precision trackpad.

One way to mitigate this is to turn off smooth scrolling, which makes the trackpad feel more responsive in Firefox.

I can't speak to non-precision trackpads, but perhaps this would be something we should consider doing in general...
We've already discussed how to handle WM_MOUSEWHEEL and WM_MOUSEHWHEEL messages at implementing scroll speed acceleration. However, nobody had an idea how to distinguish specific pointing devices.

Comment 2

2 years ago
Not frontend -> moving to core for triage.
Component: General → Untriaged
Product: Firefox → Core
Using the Direct Manipulation API might help here, if it's something that's available on these precision trackpads. But otherwise this seems like it belongs in windows widget code, because it's windows-specific behaviour. It interacts with APZ tangentially, but it's the widget code that generates the input events so that's where I'd start. If we change the wheel events to be pixel type instead of line or page type, then APZ will switch from smooth to instant scrolling for them.
Component: Untriaged → Widget: Win32
Depends on: 890878

Updated

2 years ago
Whiteboard: tpi:?

Updated

2 years ago
Whiteboard: tpi:? → tpi:+
You need to log in before you can comment on or make changes to this bug.