Re: [screen-orientation] Locking to 'current' orientation

2013-12-03 Thread Kenneth Rohde Christiansen
For normal navigation mode (thus inside the browser with chrome) I would agree, but locking to other than current orientation makes sense for apps which are standalone or in combination with the Fullscreen API. Kenneth The whole point is that the API must not allow locking to a particular

Re: [screen-orientation] Locking to 'current' orientation

2013-12-03 Thread John Mellor
On Tue, Dec 3, 2013 at 4:52 AM, Jonas Sicking jo...@sicking.cc wrote: The strongest argument that I can think of is that it would be nice to keep the manifest spec and the API spec for orientations aligned. So if we think this is common enough that apps will want to use it in the manifest,

Re: [screen-orientation] Locking to 'current' orientation

2013-12-03 Thread Jonas Sicking
On Tue, Dec 3, 2013 at 2:50 AM, John Mellor joh...@google.com wrote: On Tue, Dec 3, 2013 at 4:52 AM, Jonas Sicking jo...@sicking.cc wrote: The strongest argument that I can think of is that it would be nice to keep the manifest spec and the API spec for orientations aligned. So if we think

Re: [screen-orientation] Locking to 'current' orientation

2013-12-02 Thread Kostiainen, Anssi
On 26 Nov 2013, at 18:49, Mounir Lamouri mou...@lamouri.fr wrote: [...] If 'current' is added, I wouldn't say that there is a race condition issue because if you lock to 'current' you do not really care about the actual orientation. This said, I do not think that 'current' is very useful

Re: [screen-orientation] Locking to 'current' orientation

2013-12-02 Thread Jonas Sicking
On Nov 26, 2013 9:17 AM, Mounir Lamouri mou...@lamouri.fr wrote: Hi, I got some requests from different organizations to add the ability to lock to the 'current' orientation in the Screen Orientation API. From Javascript, that would allow writing window.screen.lockOrientation('current');

Re: [screen-orientation] Locking to 'current' orientation

2013-12-02 Thread Glenn Maynard
On Mon, Dec 2, 2013 at 10:52 PM, Jonas Sicking jo...@sicking.cc wrote: On Nov 26, 2013 9:17 AM, Mounir Lamouri mou...@lamouri.fr wrote: Hi, I got some requests from different organizations to add the ability to lock to the 'current' orientation in the Screen Orientation API. From

Re: [screen-orientation] Locking to 'current' orientation

2013-12-02 Thread Jonas Sicking
On Mon, Dec 2, 2013 at 9:07 PM, Glenn Maynard gl...@zewt.org wrote: The whole point is that the API must not allow locking to a particular orientation at all, only to the current orientation. Allowing web pages to cause my phone to *switch* orientations is crazy. (You'd end up with half of

Re: [screen-orientation] Locking to 'current' orientation

2013-11-26 Thread Marcos Caceres
On Tuesday, 26 November 2013 at 15:16, Mounir Lamouri wrote: Hi, I got some requests from different organizations to add the ability to lock to the 'current' orientation in the Screen Orientation API. From Javascript, that would allow writing window.screen.lockOrientation('current');

Re: [screen-orientation] Locking to 'current' orientation

2013-11-26 Thread Kenneth Rohde Christiansen
hi, On Tue, Nov 26, 2013 at 4:25 PM, Marcos Caceres w...@marcosc.com wrote: On Tuesday, 26 November 2013 at 15:16, Mounir Lamouri wrote: Hi, I got some requests from different organizations to add the ability to lock to the 'current' orientation in the Screen Orientation API. From

Re: [screen-orientation] Locking to 'current' orientation

2013-11-26 Thread Marcos Caceres
On Tuesday, 26 November 2013 at 15:30, Kenneth Rohde Christiansen wrote: hi, On Tue, Nov 26, 2013 at 4:25 PM, Marcos Caceres w...@marcosc.com (mailto:w...@marcosc.com) wrote: On Tuesday, 26 November 2013 at 15:16, Mounir Lamouri wrote: Hi, I got some requests from different

Re: [screen-orientation] Locking to 'current' orientation

2013-11-26 Thread Mounir Lamouri
On Wed, Nov 27, 2013, at 2:52, Marcos Caceres wrote: IMHO, it would be confusing to have an app that when you launch it the first time locks one way... but when you launch it the next time, locks another way. In the 300 apps we've been cataloguing for orientation [1], there is not a single