Use touch events instead of mouse events for the software home button

RESOLVED FIXED

Status

Firefox OS
Gaia::System
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: vingtetun, Assigned: vingtetun)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Bug 1005815 will disable mouse events coming along with touch events in the system app. This is a broken behavior on a touch device that is here more or less since the first day of touch events in Gaia.

As a result some of our code rely on this broken behavior.
Created attachment 8437754 [details] [diff] [review]
touchstart.software_home

Etienne I thought you will be a good reviewer for all this mouse/touch events madness. Let me know if I'm wrong.
Attachment #8437754 - Flags: review?(etienne)
Comment on attachment 8437754 [details] [diff] [review]
touchstart.software_home

Review of attachment 8437754 [details] [diff] [review]:
-----------------------------------------------------------------

r=me with the software_button_manager_test.js updated accordingly (just need to rename the fake events there)
Attachment #8437754 - Flags: review?(etienne) → review+
Green. Landing.

https://github.com/mozilla-b2g/gaia/commit/653065f3891f1d4c84d1bc0514c912974959d16f
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.