You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/11/18 23:49:23 UTC
[jira] [Commented] (CB-5431) Status Bar Plugin blanks view on call
overlaysWebView(false) in landscape orientation
[ https://issues.apache.org/jira/browse/CB-5431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825885#comment-13825885 ]
Shazron Abdullah commented on CB-5431:
--------------------------------------
Bug in setting the frame in landscape mode:
```
2013-11-18 14:47:34.755 CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 1024}}
2013-11-18 14:47:34.757 CB-5431[174:60b] WebView Frame bounds set to: {{0, 1024}, {768, 0}}
```
> Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation
> --------------------------------------------------------------------------------------
>
> Key: CB-5431
> URL: https://issues.apache.org/jira/browse/CB-5431
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 3.1.0
> Reporter: Sepp Wijnands
>
> If you call StatusBar.overlaysWebView(false) in the deviceready() event and the iPad Retina device is in Landscape mode, it blanks the screen and
> places a 20px black bar vertically on the screen.
> Code to reproduce problem (HelloCordova example project: www/js/index.js):
> {code}
> onDeviceReady: function() {
> StatusBar.overlaysWebView(false);
> app.receivedEvent('deviceready');
> },
> {code}
> iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.
> Screenshot: https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
> Example project demonstrating the problem (based on HelloCordova): https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip
--
This message was sent by Atlassian JIRA
(v6.1#6144)