Closed Bug 1926982 Opened 1 year ago Closed 1 year ago

Overscroll effect resets with a jump when touching touchpad

Categories

(Core :: Panning and Zooming, defect, P2)

defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox131 --- unaffected
firefox132 --- unaffected
firefox133 --- fixed
firefox134 --- fixed

People

(Reporter: mstange, Assigned: botond)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Steps to reproduce:

  1. On macOS, with a touchpad, do a fast fling on a scrollable website.
  2. During the rubberbanding animation, set two fingers on the touchpad and don't move them.

Expected results:
The overscroll animation should either pause or it should continue.

Actual results:
Overscroll snaps to zero instantly.

This is probably a regression from bug 1926141.

Set release status flags based on info from the regressing bug 1926141

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

For more information, please visit BugBot documentation.

Assignee: nobody → botond
Severity: -- → S3
Flags: needinfo?(botond)
Priority: -- → P2

I'm also seeing strange behavior when putting the fingers on the touchpad in a subframe. When I pause at the start of a scroll, the movement of the scroll is delayed. I see this in the timeline of the profiler when having more threads visible than fit. The profiler has overscroll-behavior: none set on the html and body elements, which may be related.

The regressor Bug 1926141 was backed out of central

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Target Milestone: 134 Branch → 133 Branch

I'm going to reopen this because it affects Linux as well. For Linux, the regressing bug is bug 1568722.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Regressed by: 1568722
No longer regressed by: 1926141

Set release status flags based on info from the regressing bug 1568722

(My bad, bug 1568722 first landed in 133, so 132 is unaffected.)

Blocks: 1926141

(In reply to Markus Stange [:mstange] from comment #2)

I'm also seeing strange behavior when putting the fingers on the touchpad in a subframe. When I pause at the start of a scroll, the movement of the scroll is delayed. I see this in the timeline of the profiler when having more threads visible than fit. The profiler has overscroll-behavior: none set on the html and body elements, which may be related.

I've spun this off into bug 1929757.

Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b00477456e7 Handle overscroll properly when handling hold gesture events. r=dlrobertson
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Attachment #9436347 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: On a Linux system with touchpad hold gesture support, when a page is overscrolled, putting the fingers back down on the touchpad immediately cancels the overscroll animation
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: N/A
  • Risk associated with taking this patch: low
  • Explanation of risk level: The code being modified is specific to overscroll. The impact is also expected to be limited to Linux systems on newer Wayland versions which have touchpad hold gesture support.
  • String changes made/needed: none
  • Is Android affected?: no
Attachment #9436347 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Target Milestone: 133 Branch → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: