Closed Bug 1640387 Opened 4 years ago Closed 4 years ago

PanZoomController might erroneously return INPUT_RESULT_HANDLED in some cases

Categories

(GeckoView :: IME, task)

Unspecified
All
task

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1631754 +++

Per the discussion at https://bugzilla.mozilla.org/show_bug.cgi?id=1633322#c5 onwards, we should only be setting mTargetIsRoot in the cases where we know for sure the event was handled by the root content APZ. Botond identified this as a potential problem in this bug comment as well.

I have patches to fix this. It will likely make bug 1633322 slightly worse in that you'll have more cases of the URL bar appearing even though the toplevel content is actually being scrolled. I don't expect it to happen much more often, but it might.

relnote-firefox: ? → ---
Flags: behind-pref+
Flags: a11y-review?
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d73ccaaccd2 Combine a few loose fields in APZCTreeManager into a HitTestResult. r=botond https://hg.mozilla.org/integration/autoland/rev/5cf3ae77ccb3 Only set HitResult::mTargetIsRoot for confirmed-root targets. r=snorp,botond
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78

Moving some input bugs to the new GeckoView::IME component.

Component: General → IME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: