Closed
Bug 1455788
Opened 6 years ago
Closed 6 years ago
Hover events where the source is touch get filtered.
Categories
(GeckoView :: General, enhancement, P2)
Tracking
(firefox61 wontfix, firefox62 fixed)
RESOLVED
FIXED
mozilla62
People
(Reporter: rbarker, Assigned: eeejay)
References
Details
Attachments
(1 file, 2 obsolete files)
5.58 KB,
patch
|
Details | Diff | Splinter Review |
This is a recent change from bug 1454081 which filters hover events that are generated by a mouse. It has broken hover in Firefox Reality which currently synthesizes touch events, some of which are hover events.
Comment 1•6 years ago
|
||
P2 b/c I think Randall has a work around.
Assignee: nobody → eitan
Priority: -- → P2
Reporter | ||
Comment 2•6 years ago
|
||
I've worked around this right now in Firefox Reality but probably still worth figuring out.
Assignee | ||
Comment 3•6 years ago
|
||
Attachment #8971622 -
Flags: review?(nchen)
Comment 4•6 years ago
|
||
Comment on attachment 8971622 [details] [diff] [review] Consolidate a11y MotionEvent handling to the GeckoView. r?jchen Review of attachment 8971622 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoView.java @@ +523,5 @@ > + if (mSession == null) { > + return false; > + } > + > + return (SessionAccessibility.Settings.isEnabled() && I think the | SessionAccessibility.Settings.isEnabled() | check should go inside `SessionAccessibility.onMotionEvent`
Attachment #8971622 -
Flags: review?(nchen) → review+
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Jim Chen [:jchen] [:darchons] from comment #4) > Comment on attachment 8971622 [details] [diff] [review] > Consolidate a11y MotionEvent handling to the GeckoView. r?jchen > > Review of attachment 8971622 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: > mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoView.java > @@ +523,5 @@ > > + if (mSession == null) { > > + return false; > > + } > > + > > + return (SessionAccessibility.Settings.isEnabled() && > > I think the | SessionAccessibility.Settings.isEnabled() | check should go > inside `SessionAccessibility.onMotionEvent` Since GeckoSession.getAccessibility is a lazy getter, I was worried we would instantiate the object needlessly on the first motion event. But I guess we do that on window attachment anyway!
Assignee | ||
Comment 6•6 years ago
|
||
Should this go in before the freeze? Looks like this isn't a P1, so I will leave this here until next week.
Assignee | ||
Updated•6 years ago
|
Attachment #8971622 -
Attachment is obsolete: true
Assignee | ||
Comment 7•6 years ago
|
||
Rebased.
Assignee | ||
Updated•6 years ago
|
Attachment #8971744 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e9f138b851de Consolidate a11y MotionEvent handling to the GeckoView. r=jchen
Keywords: checkin-needed
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e9f138b851de
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
Target Milestone: Firefox 61 → Firefox 62
Updated•6 years ago
|
Updated•5 years ago
|
Product: Firefox for Android → GeckoView
Updated•5 years ago
|
Target Milestone: Firefox 62 → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•