Pull to refresh triggers on navigating a geographic map
Categories
(Core :: Panning and Zooming, defect, P2)
Tracking
()
People
(Reporter: emanuellclaudiu, Assigned: hiro)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Whiteboard: [apz-needsdiagnosis] )
Attachments
(3 files)
3.71 MB,
video/mp4
|
Details | |
473 bytes,
text/html
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Android 11; Mobile; rv:127.0) Gecko/127.0 Firefox/127.0
Steps to reproduce:
Accessed site: https://www.meteoromania.ro/vremea/prognoza-meteo/prognoza-12-ore/ , pull to refresh is triggered when pulled, on the interactive geographic map. The map appears to be located right at the top of the site.
Actual results:
Pull to refresh is triggered when the screen is pulled down, right on pressing the map.
Expected results:
Pull to refresh should not fire on an interactive map.
Reporter | ||
Comment 1•10 months ago
|
||
Can you take a look and maybe put it on the list for pull to refresh errors?
Reporter | ||
Updated•10 months ago
|
Comment 2•10 months ago
|
||
Linking this bug to meta bug 1882722 with other pull-to-refresh bugs.
Assignee | ||
Comment 3•10 months ago
|
||
I am not yet sure what's going on there, but I would say it's an issue in Gecko not in Fenix.
On the site, I've often see nsEventStatus_eConsumeNoDefault should involve a valid APZHandledResult assertions. And moreover Fenix receives an InputResultDetail for MotionEvent.ACTION_MOVE first, then receives the InputResultDetail for MotionEvent.ACTION_DOWN. It's completely broken.
Assignee | ||
Comment 4•10 months ago
|
||
A similar case to bug 1897345 one, but no event listener.
Comment 5•10 months ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #3)
On the site, I've often see nsEventStatus_eConsumeNoDefault should involve a valid APZHandledResult assertions. And moreover Fenix receives an InputResultDetail for MotionEvent.ACTION_MOVE first, then receives the InputResultDetail for MotionEvent.ACTION_DOWN. It's completely broken.
This sounds like the sort of thing that may potentially be fixed by bug 1897567.
Comment 6•10 months ago
|
||
(In reply to Botond Ballo [:botond] from comment #5)
(In reply to Hiroyuki Ikezoe (:hiro) from comment #3)
On the site, I've often see nsEventStatus_eConsumeNoDefault should involve a valid APZHandledResult assertions. And moreover Fenix receives an InputResultDetail for MotionEvent.ACTION_MOVE first, then receives the InputResultDetail for MotionEvent.ACTION_DOWN. It's completely broken.
This sounds like the sort of thing that may potentially be fixed by bug 1897567.
Maybe not, since the delayed result for the ACTION_DOWN event is HANDLED
.
Comment 7•10 months ago
|
||
(In reply to Botond Ballo [:botond] from comment #6)
Maybe not, since the delayed result for the ACTION_DOWN event is
HANDLED
.
The map element does use touch-action: none
, so the result should be an eager HANDLED_CONTENT
.
Assignee | ||
Comment 8•9 months ago
|
||
(In reply to Botond Ballo [:botond] from comment #7)
(In reply to Botond Ballo [:botond] from comment #6)
Maybe not, since the delayed result for the ACTION_DOWN event is
HANDLED
.The map element does use
touch-action: none
, so the result should be an eagerHANDLED_CONTENT
.
In this specific case, we don't have aTouchBehaviors
on the ReceiveTouchInput call, thus we don't yet have the allowed-touch-behaviors so that we need to wait for a content response. That means we need to do the same thing we did in bug 1785754 in here in GetHandledResultFor.
Assignee | ||
Comment 9•9 months ago
|
||
Similar to what we did in bug 1785754, specifically in
hg.mozilla.org/integration/autoland/rev/e05ed4cedf9f , but not eager cases.
Updated•9 months ago
|
Comment 10•9 months ago
|
||
Comment 11•9 months ago
|
||
bugherder |
Comment 12•9 months ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Comment 13•9 months ago
|
||
The patch landed in nightly and beta is affected.
:hiro, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox128
towontfix
.
For more information, please visit BugBot documentation.
Updated•9 months ago
|
Assignee | ||
Comment 14•9 months ago
|
||
Comment on attachment 9405394 [details]
Bug 1895742 - Return HandledByContent for touches prevented by touch-action. r?botond
Beta/Release Uplift Approval Request
- User impact if declined: Users on Android will keep suffering from unexpected contents reload by pull-to-refresh (i.e. users will lose something they did on the contents, e.g typing messages some such)
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The change is small, and also it's limited to in a certain condition, on Android with pull-to-refresh
- String changes made/needed: none
- Is Android affected?: Yes
Comment 15•9 months ago
•
|
||
Comment on attachment 9405394 [details]
Bug 1895742 - Return HandledByContent for touches prevented by touch-action. r?botond
Approved for 128.0b8
Comment 16•9 months ago
|
||
uplift |
Updated•9 months ago
|
Updated•8 months ago
|
Description
•