Closed Bug 1633451 Opened 4 years ago Closed 4 years ago

Turn the layout.reflow.synthMouseMove pref back off

Categories

(GeckoView :: General, defect)

Unspecified
All
defect

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

See discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1545393#c5 onwards. I filed bug 1633450 for fixing this better in Gecko but for now we should turn the pref back off.

Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3b73e8e74ebf
Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato

Backed out for wpt failure on pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html

Backout link: https://hg.mozilla.org/integration/autoland/rev/632035e7c6842ed4e525cdd124a22446ae1bb375
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=299838550&repo=autoland&lineNumber=6880

Flags: needinfo?(kats)

Looks like there are two pointerevents tests that are failing on Android. Both tests were added pretty recently (after this pref was turned on for Android), so I guess they rely on this synthetic mousemove event? Sigh.

Flags: needinfo?(kats)

Makoto, would you be ok with me marking the two tests as failing in order to land this? It's not clear to me why the tests are failing. I can do some investigation but it might take a few days.

Flags: needinfo?(m_kato)

So it seems like if the pointer is captured on a shadow element and the element is removed from the DOM, we don't fire the lostpointercapture event unless the synthMouseMove pref is enabled. Presumably the synthetic mousemove is required to trigger the code that loses the pointer capture.

(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #5)

Makoto, would you be ok with me marking the two tests as failing in order to land this? It's not clear to me why the tests are failing. I can do some investigation but it might take a few days.

I guess a better solution is to just mark the pref true for those tests, since they appear to require it. I'll try that.

Flags: needinfo?(m_kato)
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ee7ec2f4b97
Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: