Closed Bug 1872170 Opened 4 months ago Closed 4 months ago

Tapping on the screen after an upward overscroll on a page causes pull-to-refresh to be activated

Categories

(Fenix :: Browser Engine, defect)

All
Android
defect

Tracking

(firefox121 unaffected, firefox122+ verified, firefox123+ verified)

VERIFIED FIXED
123 Branch
Tracking Status
firefox121 --- unaffected
firefox122 + verified
firefox123 + verified

People

(Reporter: jonalmeida, Assigned: tthibaud)

References

(Regression)

Details

(Keywords: regression)

Attachments

(5 files, 1 obsolete file)

Attached file viewport.html (obsolete) —

Steps to reproduce

  1. Scroll down on the attached page viewport.html (test page taken from bug 1815657 but any site that has nested scrolling would work).
  2. Scroll upward and in the same gesture, continue pulling upward more than the previous downward gesture from step 1.
  3. Tap on the screen.

Expected behaviour

  • Nothing happens.

Actual behaviour

  • The Pull-To-Refresh throbber is activated.
  • The throbber position is pulled down approximately the same distance as the over-scroll gesture from step 2.

Device information

  • Firefox version: Firefox 122
  • Android device model: All devices
  • Android OS version: All versions

Any additional information?

  • See attached video.
  • Verified that this bug is a regression from bug 1847305 by reverting those patches and using the same STR.

Video of the bug being reproduced. Observe the touch tap gestures.

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

Duplicate of this bug: 1871994
Attached file viewport.html
Attachment #9370361 - Attachment is obsolete: true

The bug is marked as tracked for firefox122 (beta) and tracked for firefox123 (nightly). We have limited time to fix this, the soft freeze is in 13 days. However, the bug still isn't assigned.

:jonalmeida, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(jonalmeida942)
See Also: → 1872144
No longer blocks: 1807073
Depends on: 1807073
Flags: needinfo?(jonalmeida942)

:jonalmeida could this be triaged for Severity?
Do you have any options to address this for Fx122, I added tracking based on the description. Can we consider backing out the regressor from Fx122 to give more time to address this with Fx123? Though the regressor is an S2.

Flags: needinfo?(jonalmeida942)

(In reply to Donal Meehan [:dmeehan] from comment #6)

:jonalmeida could this be triaged for Severity?

Settings has S3 for now because the pull-to-refresh feature is turned off by default in beta and release channels, so I am slightly less concerned about it.

(In reply to Donal Meehan [:dmeehan] from comment #6)

Do you have any options to address this for Fx122, I added tracking based on the description. Can we consider backing out the regressor from Fx122 to give more time to address this with Fx123? Though the regressor is an S2.

Titouan and I are going to discuss this more tomorrow after some more investigation and impact analysis when we both have overlapping timezones to debug together.

Keeping NI for both of us until then.

Severity: -- → S3
Flags: needinfo?(tthibaud)
Assignee: nobody → tthibaud
Flags: needinfo?(jonalmeida942)

We have a patch that will solve this bug without needing to back-out the regressor - see comment 8.

We will let it bake over the weekend in nightly and request an uplift for 122 early next week.

See Also: → 1872590
Duplicate of this bug: 1872590
No longer depends on: 1807073

Authored by Titouan Thibaud
https://github.com/mozilla-mobile/firefox-android/commit/805b2ac0c0767cbe36b9c47e152954c98fc1fe20
[main] Bug 1872170 - Fix Pull to Refresh triggered after an upward overscroll on a page

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Duplicate of this bug: 1872589
Flags: qe-verify+
Flags: needinfo?(tthibaud)

Verified as fixed on Nightly 123.0a1 from 01/08 with Motorola Moto G9 plus (Android 11) and OnePlus A3000 (Android 6).

Flags: qe-verify+

The patch landed in nightly and beta is affected.
:tthibaud, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox122 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(tthibaud)

:tthibaud/:jonalemedia any concerns with adding an uplift request on this today?
Fenix 122.0b8 builds tomorrow. It would be good to include this now it's been verified and had a few days in Nightly.

Flags: needinfo?(jonalmeida942)

No, we're quite happy with the status of the patch, thanks for the reminder. Preparing an uplift request now.

Flags: needinfo?(tthibaud)
Flags: needinfo?(jonalmeida942)

Comment on attachment 9371762 [details] [review]
[mozilla-mobile/firefox-android] Bug 1872170 - Fix Pull to Refresh triggered after an upward overscroll on a page (backport #5009) (#5090)

Beta/Release Uplift Approval Request

  • User impact if declined: Users will continue face unintentional page refreshes while they were only intending to scroll down a page, that can be quite frustrating.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Instructions provided in comment 0.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This is a low risk because the change has baked in nightly and verified by multiple users.
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9371762 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Comment on attachment 9371762 [details] [review]
[mozilla-mobile/firefox-android] Bug 1872170 - Fix Pull to Refresh triggered after an upward overscroll on a page (backport #5009) (#5090)

Approved for Android 122.0b8
Attachment #9371762 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Authored by Titouan Thibaud
https://github.com/mozilla-mobile/firefox-android/commit/01d24e7dddf91ef8e7b66eeaea4b01c12828d2a7
[releases_v122] Bug 1872170 - Fix Pull to Refresh triggered after an upward overscroll on a page

Verified as fixed on Firefox 123.0b8 with: Sony Xperia Z2 (Android 6.0.1) and Google Pixel 7 Pro ( Android 14).

Flags: qe-verify+
Status: RESOLVED → VERIFIED
Duplicate of this bug: 1875698
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: