Revert "Fix touchpad scroll sensitivity on Wayland." [chromium/src : main]

18 views
Skip to first unread message

Rubber Stamper (Gerrit)

unread,
Nov 19, 2025, 4:34:19 PM11/19/25
to Jamie Walch, Orko Garai, Chromium LUCI CQ, Thomas Anderson, AyeAye, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
Attention needed from Orko Garai and Thomas Anderson

Message from Rubber Stamper

The change is not in the configured time window. Rubber Stamper is only allowed to review reverts within 14 day(s). Learn more: go/rubber-stamper-user-guide.

Open in Gerrit

Related details

Attention is currently required from:
  • Orko Garai
  • Thomas Anderson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Gerrit-Change-Number: 7171891
Gerrit-PatchSet: 1
Gerrit-Owner: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Orko Garai <or...@igalia.com>
Gerrit-Reviewer: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Orko Garai <or...@igalia.com>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Comment-Date: Wed, 19 Nov 2025 21:34:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Orko Garai (Gerrit)

unread,
Nov 19, 2025, 4:38:01 PM11/19/25
to Jamie Walch, Chromium LUCI CQ, Thomas Anderson, AyeAye, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
Attention needed from Jamie Walch and Thomas Anderson

Orko Garai voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jamie Walch
  • Thomas Anderson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Gerrit-Change-Number: 7171891
Gerrit-PatchSet: 1
Gerrit-Owner: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Orko Garai <or...@igalia.com>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Jamie Walch <jamie...@chromium.org>
Gerrit-Comment-Date: Wed, 19 Nov 2025 21:37:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Thomas Anderson (Gerrit)

unread,
Nov 19, 2025, 4:52:37 PM11/19/25
to Jamie Walch, Orko Garai, Chromium LUCI CQ, AyeAye, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
Attention needed from Jamie Walch

Thomas Anderson voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jamie Walch
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Gerrit-Change-Number: 7171891
Gerrit-PatchSet: 1
Gerrit-Owner: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Orko Garai <or...@igalia.com>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Jamie Walch <jamie...@chromium.org>
Gerrit-Comment-Date: Wed, 19 Nov 2025 21:52:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Jamie Walch (Gerrit)

unread,
Nov 19, 2025, 5:09:09 PM11/19/25
to Thomas Anderson, Orko Garai, Chromium LUCI CQ, AyeAye, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com

Jamie Walch voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Gerrit-Change-Number: 7171891
Gerrit-PatchSet: 1
Gerrit-Owner: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Orko Garai <or...@igalia.com>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Comment-Date: Wed, 19 Nov 2025 22:08:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Nov 19, 2025, 5:49:46 PM11/19/25
to Jamie Walch, Thomas Anderson, Orko Garai, AyeAye, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com

Chromium LUCI CQ submitted the change

Change information

Commit message:
Revert "Fix touchpad scroll sensitivity on Wayland."

This reverts commit ded09f2a729ad7d92f404bd9f86fac819f178f8b.

Reason for revert: Users found the slower scroll speed relative to other Wayland applications to be disruptive.

Original change's description:
> Fix touchpad scroll sensitivity on Wayland.
>
> Chrome's scroll sensitivity with a touchpad is much higher on Wayland
> than on other OSes. Chrome isn't alone in this--Terminal and several
> other applications also scroll much faster than I'd expect--but one
> notable exception is the "Test settings" page of the touchpad
> configuration UI, the scroll sensitivity of which feels comparable to
> using a touchpad on other OSes.
>
> I believe that axis events coming via `OnAxis` should not be scaled at
> all. That feels right when using a physical touchpad, but more
> importantly, if `ei_device_scroll_delta` is used to inject scroll
> events, the magnitude of those events is specified in pixels. The
> comment in `OnAxis` (that this CL deletes) mentioned wheel ticks, but
> this CL doesn't affect wheel ticks at all, since they are delivered via
> `OnAxis120`, which takes precedence.
>
> My ultimate goal is to have CRD host use `ei_device_scroll_delta` so
> that we can support smooth scrolling. It's not currently possible due
> to https://gitlab.freedesktop.org/libinput/libei/-/issues/88, but this
> CL is a prerequisite. In particular, if the `OnAxis120` implementation
> is removed in addition to this CL, then I can get the scroll distances
> to match on client and host when Chrome Wayland is used at both ends.
> Without this CL, Chrome running on the host scrolls 144 times too far
> due to scroll distances being multiplied by 12 by Chrome at both ends.
>
> Change-Id: Id576c3a10e3dc1847ab278502b31baf51592ce55
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7004208
> Commit-Queue: Thomas Anderson <thomasa...@chromium.org>
> Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
> Auto-Submit: Jamie Walch <jamie...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1524565}
Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
Commit-Queue: Jamie Walch <jamie...@chromium.org>
Reviewed-by: Orko Garai <or...@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1547498}
Files:
  • M ui/ozone/platform/wayland/host/wayland_pointer.cc
  • M ui/ozone/platform/wayland/host/wayland_pointer_unittest.cc
Change size: M
Delta: 2 files changed, 10 insertions(+), 40 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Orko Garai, +1 by Thomas Anderson
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Gerrit-Change-Number: 7171891
Gerrit-PatchSet: 2
open
diffy
satisfied_requirement

Cristian La Spina (Gerrit)

unread,
Jun 10, 2026, 8:09:56 PMJun 10
to Chromium LUCI CQ, Jamie Walch, Thomas Anderson, Orko Garai, android-bu...@system.gserviceaccount.com, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com

Cristian La Spina added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Cristian La Spina . unresolved

Commenting here since this is where the reland decision will likely be made.

The regression behind this revert (wheel scrolling becoming slower relative to other Wayland apps) appears to affect only the legacy path: compositors delivering wheel events via plain wl_pointer.axis without axis_value120, since the original CL dropped the 10-units-per-detent conversion for *all* OnAxis events.

Would a reland be viable if the scaling decision were deferred to WaylandEventSource::ProcessPointerScrollData(), where the axis source for the frame is already known? Roughly:

  • WHEEL / WHEEL_TILT, low-res only: keep the historical kWheelDelta/10 conversion. High-res deltas from axis_value120 are already in detent units and stay untouched.
  • FINGER / CONTINUOUS: dispatch raw surface-unit (pixel) deltas, fixing the ~12x touchpad over-scroll.
  • A missing axis_source already defaults to WHEEL in OnAxisImpl, so legacy compositors keep today's behavior.

This would preserve wheel behavior everywhere — i.e. address the revert reason — while still fixing touchpad sensitivity (bugs 425717219 / 462497327). Possibly behind a base::Feature as a kill switch, given the history. Does this direction sound reasonable?

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Gerrit-Change-Number: 7171891
Gerrit-PatchSet: 2
Gerrit-Owner: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Orko Garai <or...@igalia.com>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-CC: Cristian La Spina <cristian...@kernel.srl>
Gerrit-Comment-Date: Thu, 11 Jun 2026 00:09:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Kevin Kou (Gerrit)

unread,
Jul 20, 2026, 1:26:02 PM (3 days ago) Jul 20
to Chromium LUCI CQ, Jamie Walch, Cristian La Spina, Thomas Anderson, Orko Garai, android-bu...@system.gserviceaccount.com, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com

Kevin Kou added 1 comment

Patchset-level comments
Cristian La Spina . resolved

Commenting here since this is where the reland decision will likely be made.

The regression behind this revert (wheel scrolling becoming slower relative to other Wayland apps) appears to affect only the legacy path: compositors delivering wheel events via plain wl_pointer.axis without axis_value120, since the original CL dropped the 10-units-per-detent conversion for *all* OnAxis events.

Would a reland be viable if the scaling decision were deferred to WaylandEventSource::ProcessPointerScrollData(), where the axis source for the frame is already known? Roughly:

  • WHEEL / WHEEL_TILT, low-res only: keep the historical kWheelDelta/10 conversion. High-res deltas from axis_value120 are already in detent units and stay untouched.
  • FINGER / CONTINUOUS: dispatch raw surface-unit (pixel) deltas, fixing the ~12x touchpad over-scroll.
  • A missing axis_source already defaults to WHEEL in OnAxisImpl, so legacy compositors keep today's behavior.

This would preserve wheel behavior everywhere — i.e. address the revert reason — while still fixing touchpad sensitivity (bugs 425717219 / 462497327). Possibly behind a base::Feature as a kill switch, given the history. Does this direction sound reasonable?

Kevin Kou

I have a pending CL for another attempted fix (feel free to leave comments):

https://chromium-review.git.corp.google.com/c/chromium/src/+/8092354

I'll put it behind a feature flag in a future revision to reduce churn

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8245e2ee835991cdfe082a6d34cd00a25603d155
Gerrit-Change-Number: 7171891
Gerrit-PatchSet: 2
Gerrit-Owner: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Jamie Walch <jamie...@chromium.org>
Gerrit-Reviewer: Orko Garai <or...@igalia.com>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-CC: Cristian La Spina <cristian...@kernel.srl>
Gerrit-CC: Kevin Kou <kevi...@google.com>
Gerrit-Comment-Date: Mon, 20 Jul 2026 17:25:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Cristian La Spina <cristian...@kernel.srl>
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages