Closed Bug 2043753 Opened 1 month ago Closed 1 month ago

[APZ] Scrolling stutter strictly triggered on initial touch-move / panning setup when interrupting or restarting a fling

Categories

(Core :: Panning and Zooming, defect)

Firefox 153
All
Android
defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox151 --- unaffected
firefox152 --- unaffected
firefox153 --- fixed

People

(Reporter: secure.blatantly440, Unassigned)

References

(Regression)

Details

(Keywords: perf, regression)

User Agent: Mozilla/5.0 (Android 16; Mobile; rv:153.0) Gecko/153.0 Firefox/153.0

Steps to reproduce:

  1. Open about:config (I find it best reproducible there)
  2. Try to scroll fast through the page

Actual results:

It is very stuttery, kind of hard to explain

Expected results:

It should not lag like this

It also happens on a completely new profile. Reproduced on SM-S911B

Flags: needinfo?(jboek)

It happens on some (most) websites, but not on every each of them, weirdly. I have requested a needinfo because this is a serious performance regression that heavily impacts usability on recent Nightly builds. Not sure if it will help.

Keywords: regression

I have successfully run a full bisection using mozregression on the GeckoView Example app (gve), which confirms that this is a Core Gecko engine regression rather than a Fenix UI issue.

The scrolling stutter reproduces perfectly inside GVE, and it isolates exactly to the merge of Bug 2041154.

Bisection Results:

The massive stutter happens right at the initial touch gesture when starting to pan/scroll. This matches the behavior introduced in changeset 909577e462d4 ("Wait for a content response on the first touch-move if needed"), where APZ is now blocking on the main thread during the initial input event.

Moving this bug to Core :: Pan and Zoom so the right team can investigate or look into a backout.

Component: Browser Engine → Panning and Zooming
Keywords: perf
Product: Firefox for Android → Core
Regressed by: 2041154

Note: The stutter only occurs on the initial input action (touch-move / panning setup). If a fast scroll is initiated and left to decelerate naturally via momentum (fling) without any further touch inputs, the scrolling remains perfectly smooth. The jank strictly triggers the exact moment the finger touches the screen again to interrupt or restart panning, which perfectly points to APZ blocking while waiting for a main-thread content response on the first touch-move event.

Summary: Stuttery scrolling since a few builds on Nightly Android → [APZ] Scrolling stutter strictly triggered on initial touch-move / panning setup when interrupting or restarting a fling

I'll admit the needinfo was useless, I'm clearing it. Sorry for this.

Flags: needinfo?(jboek)

:hiro, since you are the author of the regressor, bug 2041154, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(hikezoe.birchill)

Bug 2041154 was backed out.

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Flags: needinfo?(hikezoe.birchill)
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.