<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23204</bug_id>
          
          <creation_ts>2013-09-10 22:09:59 +0000</creation_ts>
          <short_desc>Add option for orientation</short_desc>
          <delta_ts>2014-07-29 10:18:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Fullscreen</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>anssi.kostiainen</cc>
    
    <cc>cpearce</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>hober0</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>kenneth</cc>
    
    <cc>lars.knudsen</cc>
    
    <cc>mike</cc>
    
    <cc>mounir</cc>
    
    <cc>public-webapps</cc>
    
    <cc>roc</cc>
    
    <cc>tobie.langel</cc>
    
    <cc>w3c</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93218</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-09-10 22:09:59 +0000</bug_when>
    <thetext>In http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Jul/0166.html Kornel suggests:

&quot;&quot;&quot;
Since specific, locked screen orientation is mostly needed in games, and  
forced rotation is disruptive to other things on the screen (e.g. moving  
buttons/addressbar to other physical edge of the screen), maybe it should  
be tied to the Fullscreen API?

    element.requestFullscreen({orientation:&apos;landscape&apos;,  
autorotation:false})
&quot;&quot;&quot;

Seems compelling. What do people think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93220</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2013-09-10 22:43:37 +0000</bug_when>
    <thetext>I have been suggesting this long ago, so I am positive.

I thought this was a better solution that the screen orientation lock currently found in Firefox OS, as it also allows to animation the transition (potentially a scale and rotate, like opening a landscape video in portrait mode Safari).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93228</commentid>
    <comment_count>2</comment_count>
    <who name="Lars Knudsen">lars.knudsen</who>
    <bug_when>2013-09-11 06:54:59 +0000</bug_when>
    <thetext>I think this makes a lot of sense - however, it most probably needs to be possible to be a bit more specific regarding the orientation request to have full control over interaction between orientation lock, orientation events and device motion.

A few links to read as background:

Differences between implementations:
http://mobiforge.com/developing/story/html5-mobile-web-device-orientation-events

Some comments I made a long time ago:
http://lists.w3.org/Archives/Public/public-webapps/2013AprJun/0063.html

In general, it would be VERY beneficial for both spec&apos;ers, browser engine implementers and webapps developers if specs like THIS would be done in collaboration between the three groups.  There is a big room for failure here (as we have seen with a recent rush of specs from an org that needed to get things in fast for some device) - but also great potential to change the balance of native vs pure web games (and apps) if done right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96851</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-26 21:33:46 +0000</bug_when>
    <thetext>See also this e-mail from Tobie:
   http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Sep/0095.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96868</commentid>
    <comment_count>4</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2013-11-27 12:12:11 +0000</bug_when>
    <thetext>(In reply to Anne from comment #0)
&gt; In
&gt; http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Jul/0166.html
&gt; Kornel suggests:
&gt; 
&gt; &quot;&quot;&quot;
&gt; Since specific, locked screen orientation is mostly needed in games, and  
&gt; forced rotation is disruptive to other things on the screen (e.g. moving  
&gt; buttons/addressbar to other physical edge of the screen), maybe it should  
&gt; be tied to the Fullscreen API?
&gt; 
&gt;     element.requestFullscreen({orientation:&apos;landscape&apos;,  
&gt; autorotation:false})
&gt; &quot;&quot;&quot;
&gt; 
&gt; Seems compelling. What do people think?

Sounds a bit early to add the orientation information to the Fullscreen API. If the UX of going fullscreen then changing orientation is terrible, we should probably introduce such a thing but so far I am not sure we got such feedback.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109359</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-07-28 13:19:44 +0000</bug_when>
    <thetext>Mounir, this is resolved now, correct?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109481</commentid>
    <comment_count>6</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2014-07-29 10:15:53 +0000</bug_when>
    <thetext>(In reply to Anne from comment #5)
&gt; Mounir, this is resolved now, correct?

How so? Screen Orientation defines how the Fullscreen API and the Screen Orientation API are related - which is up to the UA. The Fullscreen specification doesn&apos;t define how to lock the orientation when going fullscreen. Which is for the best I believe.

Is that a reasonable &quot;FIXED&quot; state to you?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109482</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-07-29 10:18:18 +0000</bug_when>
    <thetext>Reasonable WORKSFORME.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>