You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tim Higgins (JIRA)" <ji...@apache.org> on 2014/09/16 04:15:33 UTC

[jira] [Commented] (CB-7549) [iOS 8] Landscape issue

    [ https://issues.apache.org/jira/browse/CB-7549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134839#comment-14134839 ] 

Tim Higgins commented on CB-7549:
---------------------------------

Shazron,

I recreated the app and put your version of the code in and it worked fine, but then i added two plugins back in the console and the statusbar both phonegap plugins.  i have found out it is the "cordova plugin add https://github.com/phonegap-build/StatusBarPlugin.git" that is causing the problem.  if i create a project and only use the index.html file as you have defined it works fine.  i add the statusbar plugin and it causes the problem.  I am not sure if there is a different bug list for that plugin since it is a phonegap version and not some other developers plugin.  please add it and see if you now see the problem.  Also please advise if i need to create a different issue somewhere else.  thanks tim

> [iOS 8] Landscape issue
> -----------------------
>
>                 Key: CB-7549
>                 URL: https://issues.apache.org/jira/browse/CB-7549
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 3.5.0
>         Environment: Jquerymobile 1.4.3, Jquery 2.0.3, cordova 3.5 iOS, iOS 8
>            Reporter: Tim Higgins
>            Assignee: Shazron Abdullah
>
> not for sure if this is an xcode setting, cordova ios8 issue or jquerymobile ios8 issue.  if you create a new cordova project, force it to Landscape only(phone or ipad doesnt matter), then include JqueryMobile (1.4.3) and run the project in iOS 8 the display will be chopped up into 3 sections.  ReRun it in iOS 7 simulator and everything is fine.  so it has something to do with being forced to Landscape.  enclosed is the code i am using to recreate the problem.
> {code}
> <!DOCTYPE html>
> <html>
>   <head>
>   <title></title>
>       <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
>       <meta name="msapplication-tap-highlight" content="no" />
>       <meta name="format-detection" content="telephone=no" />
> 	   <meta charset="utf-8">
>      
>        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css">
>       
>   </head>
>   
>   
>   <style type="text/css">
>       
>       div.div_Body {
>           height: 100%;
>           
>           position: relative;
>           border:2px solid DarkGoldenrod;
>           border-radius:7px;
>           font: bold 14px Arial;
>           font-family:Arial, Helvetica, sans-serif;
>           color:Black;
>           text-align:center;
>           background: #FFFFFF;
>       }
> </style>
>   
>   
>   
>   <body id="body" class="noselect"  >
>       <script>
>           
>           window.addEventListener('load', function () { document.addEventListener('deviceready', function () {onDeviceReady() }, false); }, false);
>           
>           /* When this function is called, PhoneGap has been initialized and is ready to roll */
>           function onDeviceReady()
>           {
>               console.log("in device ready");
>               console.log("height " + screen.height);
>               console.log("width " + screen.width);
>               var myscreenWidth = screen.width;
>            }
>       </script>
>       
>       
>       <div data-role="page" class="ui-page " data-theme="b" >
>           
>           <div data-role="header"   class="ui-header" data-theme="b" >
>               <h1 class="ui-title" tabindex="0" role="heading" aria-level="1">Test</h1>
>           </div>
>            <div data-role="content" style="height: 670px" class="ui-content div_Body" role="main">
>               <p  >Send Help</p>
>           </div>
>      </div>
>  
>       <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
>         <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
>         <script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script>
>   </body>
> </html>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)