Closed
Bug 1806218
Opened 3 years ago
Closed 2 years ago
Overscrollable directions in APZHandledResult are sometimes incorrect
Categories
(Core :: Panning and Zooming, defect, P3)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
117 Branch
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: botond, Assigned: ajakobi)
References
Details
Attachments
(1 file)
In bug 1785754, I expanded the geckoview-junit test InputResultDetailTest#testTouchAction to test what values are returned in APZHandledResult in a more comprehensive combination of scenarios:
- target is root frame vs. subframe
- target is scrollable vs. non-scrollable
- target has an APZ-aware event handler vs. not
- target has various
touch-actionvalues
In this process I discovered that in a subset of cases, the mOverscrollDirections are incorrect (see the FIXME comment in D164586).
This issue tracks fixing the overscroll directions in the affected cases.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → ajakobi
Status: NEW → ASSIGNED
Pushed by drobertson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b5fec4580148
Fix faulty overscroll directions in evaluated touch actions. r=dlrobertson,geckoview-reviewers,owlish
Comment 3•2 years ago
|
||
Backed out for causing gtest failures.
[task 2023-07-12T20:48:26.830Z] 20:48:26 INFO - TEST-START | APZEventResultTesterMock.HandledByRootApzcFlag
[task 2023-07-12T20:48:26.830Z] 20:48:26 WARNING - TEST-UNEXPECTED-FAIL | APZEventResultTesterMock.HandledByRootApzcFlag | Expected equality of these values:
[task 2023-07-12T20:48:26.830Z] 20:48:26 INFO - delayedAnswer
[task 2023-07-12T20:48:26.830Z] 20:48:26 INFO - Which is: handled: unhandled, scrollable: [], overscroll: either
[task 2023-07-12T20:48:26.830Z] 20:48:26 INFO - (APZHandledResult{APZHandledPlace::Unhandled, SideBits::eNone, ScrollDirections()})
[task 2023-07-12T20:48:26.831Z] 20:48:26 INFO - Which is: handled: unhandled, scrollable: [], overscroll: none
[task 2023-07-12T20:48:26.831Z] 20:48:26 INFO - @ /builds/worker/checkouts/gecko/gfx/layers/apz/test/gtest/TestEventResult.cpp:465
[task 2023-07-12T20:48:26.831Z] 20:48:26 WARNING - TEST-UNEXPECTED-FAIL | APZEventResultTesterMock.HandledByRootApzcFlag | test completed (time: 0ms)
[task 2023-07-12T20:48:26.831Z] 20:48:26 INFO - TEST-START | APZCFlingAccelerationTester.TwoNormalFlingsShouldAccelerate
Flags: needinfo?(ajakobi)
| Assignee | ||
Comment 4•2 years ago
|
||
@imoraru : I have submitted a fix which looks like it's passing:
https://treeherder.mozilla.org/jobs?repo=try&revision=d82718e972eff6d37bb6d6e9240fdb978d082369
Flags: needinfo?(ajakobi)
Pushed by drobertson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0cfa5cdad7b0
Fix faulty overscroll directions in evaluated touch actions. r=dlrobertson,geckoview-reviewers,owlish
Comment 6•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•