Closed Bug 1637113 Opened 5 years ago Closed 5 years ago

android hit testing seems broken

Categories

(Core :: Panning and Zooming, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 --- fixed

People

(Reporter: tnikkel, Assigned: botond)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR, in an android browser (geckoview example, reference browser, fenix) load https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/screenX

Scroll down to the "Result" box with live update of mouse position. Pinch zoom in, tap the box. The mouse position is not updated, it should be. Also, if you long tap words they won't be selected.

I tested in a geckoview example build based off a May 3 changeset and the problem does not exist. I initially suspect bug 1556556.

The issue first appeared in the May 6th GVE nightly, which is also the first one to include bug 1556556. I agree that it is the likely suspect.

Summary: hit testing broken → android hit testing seems broken

In a debug build, I'm seeing this assertion firing.

(In reply to Botond Ballo [:botond] from comment #2)

In a debug build, I'm seeing this assertion firing.

This is only triggered when the pinch gesture to zoom in is made over the interactive "Result" box. It may be an unrelated issue.

If the regressing patch has been identified, can it be backed out until a fix is found?

I'm working on a fix.

Assignee: nobody → botond

I was able to coax RDM into reproducing this and debug it in rr. It's a bug in the changes bug 1556556 made to nsIFrame::GetTransformMatrix().

Regressed by: 1556556
Has Regression Range: --- → yes

This offset is essentially the layout scroll offset, to it's in layout coordinates.

Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f1bcac66ee21 Apply the offset from the canvas frame to the scroll frame before the layout-to-visual transform. r=tnikkel
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Blocks: 1637776
See Also: → 1625925
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: