Closed Bug 903609 Opened 11 years ago Closed 11 years ago

Better touch event support for gaia in firefox

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

Long term solution we would like to use pointer events, see bug 822898

For the short term it may be worth while investigating if we can use real touch events. Bug 888305 is a bug that details implementing touch events for content in Firefox.

If we decide to implement support for windows/mac touch events, these resources may help:
 - http://mxr.mozilla.org/mozilla-central/source/widget/windows/nsWindow.cpp#6022
 - http://mxr.mozilla.org/mozilla-central/source/widget/windows/winrt/MetroInput.cpp

At worst we should clean up our touch shim so it always works. (Sometimes it fails. See: https://github.com/mozilla-b2g/gaia/blob/master/tools/extensions/desktop-helper/content/touch-events.js)
Blocks: 908063
Another symptom from bug 910627 from Jan, "If you refresh system.gaiamobile.org in your browser after building gaia with DEBUG=1, then touch events don't work nicely anymore. Almost every click / drag is registered as a right click or a long press."
Depends on: 920742
Devtools team is essentially taking this bug over now that the code is in the platform, so closing this one out.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.