mozilla / r2d2b2g

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
Other
392 stars 139 forks source link

Most touch events do not work in Firefox OS Simulator 1.2. No way to simulate multitouch either. #886

Open jiveabillion opened 10 years ago

jiveabillion commented 10 years ago

I'm using hammer.js for touch events. You can use this page to test and see the events as they are logged on the simulator, desktop, and mobile device: http://eightmedia.github.io/hammer.js/examples/events.html

Many of the events do not fire in the Firefox OS Simulator, but all of them (with the exception of the "rotate" events, which don't even work on iPhone) fire on the ZTE Open device with the 1.0 firmware. They also fire in Firefox for desktop.

That test page lets you hold down the shift key to simulate multi-touch, just like the iPhone simulator does in XCode, while the Firefox OS Simulator does not.

This makes it very difficult to debug apps that use touch events without debugging on a device. Debugging on a device is a huge pain, not only because it requires us to purchase a device (although they are, thankfully, very inexpensive), but because it is apparently difficult or confusing as to how to properly upgrade the ZTE Open to 1.2 ( I haven't upgraded mine yet because of this).

The Firefox OS Simulator needs to do a much better job at simulating a device.

This is likely the reason drag and drop does not work for issue #880