> Are we adding the shim in an add-on in DEBUG mode?

That's exactly what we're doing. We install an extension which provides touch 
support in DEBUG mode. We are also doing this for the simulator. So basically 
the only place without touch support appears to be B2G desktop in non-DEBUG 
mode. 

The touch event extension live here: 
https://github.com/mozilla-b2g/gaia/blob/master/tools/extensions/desktop-helper/content/touch-events.js

Actually, I should clarify. The extensions will get copied to the profile when 
the DESKTOP flag is set to 1. You can set the DESKTOP flag to 1 without the 
DEBUG flag. It would be nice if we could ensure that the B2G binaries ship with 
a gaia profile generated with: DESKTOP=1 make

Best,
Kevin

----- Original Message -----
From: "Fabrice Desre" <[email protected]>
To: "Kevin Grandon" <[email protected]>
Cc: [email protected]
Sent: Tuesday, July 16, 2013 11:21:59 PM
Subject: Re: [b2g] Touch support in B2G desktop?

On 07/16/2013 04:50 PM, Kevin Grandon wrote:
> Hey Guys,
> 
> Unfortunately I think I may have broken B2G desktop for some people, see bug 
> #891882.  Basically I changed the lockscreen to use touch events instead of 
> mouse events. This is supported in gaia running in firefox because we have a 
> shim for touch events, but broken in some cases for B2G desktop users.

This is broken only in some cases? which cases?

> This will work if you build your own DEBUG=1 gaia profile, but I think it may 
> be broken otherwise. I guess my question is:
> 
> Are we ok with requiring a DEBUG gaia profile to ship or be generated when 
> working with B2G desktop?

I don't think requiring DEBUG is fine unfortunately. Are we adding the
shim in an add-on in DEBUG mode?

        Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to