cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10158) StatusBar issue when recovering from fullscreen video playback in landscape mode
Date Tue, 18 Oct 2016 02:54:58 GMT

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

ASF GitHub Bot commented on CB-10158:
-------------------------------------

GitHub user jaassoon opened a pull request:

    https://github.com/apache/cordova-plugin-statusbar/pull/68

    CB-10158: (ios) StatusBar issue when recovering from fullscreen video playback in landscape
mode 

    CB-10158: (ios) StatusBar issue when recovering from fullscreen video playback in landscape
mode 
    following the comment of  user 165573 in https://issues.apache.org/jira/browse/CB-10158
    After trying several hacks (like hiding then showing, ...) I ended up changing the content
of "setStatusBarOverlaysWebView" to avoid checking if we're setting a new value, and whenever
I go back to my app after viewing a video, I call "StatusBar.overlaysWebView(false);".


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jaassoon/cordova-plugin-statusbar master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-statusbar/pull/68.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #68
    
----
commit 53d0b04ed69431139de1a1767a6d311d450211c3
Author: Steve Gill <stevengill97@gmail.com>
Date:   2016-09-09T23:08:04Z

    CB-11832 Incremented plugin version.

commit 940a8ee92045b365b11790aa5e3e55964ef913a2
Author: Shazron Abdullah <shazron@gmail.com>
Date:   2016-09-28T08:26:09Z

    CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
    
     This closes #66

commit 1f9ecb1936588e2ed7e4c8069d249d3220aac1cb
Author: jaassoon <linglijunmail@gmail.com>
Date:   2016-10-18T02:46:26Z

    CB-10158: (ios) 
    
    CB-10158: (ios) StatusBar issue when recovering from fullscreen video playback in landscape
mode 
    following the comment of  user 165573 in https://issues.apache.org/jira/browse/CB-10158
    After trying several hacks (like hiding then showing, ...) I ended up changing the content
of "setStatusBarOverlaysWebView" to avoid checking if we're setting a new value, and whenever
I go back to my app after viewing a video, I call "StatusBar.overlaysWebView(false);".

----


> StatusBar issue when recovering from fullscreen video playback in landscape mode
> --------------------------------------------------------------------------------
>
>                 Key: CB-10158
>                 URL: https://issues.apache.org/jira/browse/CB-10158
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: 5.4.1
>         Environment: Cordova version 5.4.1 (Using CLI, not platform tools)
> StatusBar plugin version 2.0.0
> Building app on OS X El Capitan
> Device platform: iOS 9.1 
> TESTED IN SIMULATOR ONLY (iPhone 6 / iOS 9.1)
> Not tested for any other device platform
> Using the following configuration in config.xml:
> {code:xml}
>     <platform name="ios">
>         <allow-intent href="itms:*" />
>         <allow-intent href="itms-apps:*" />
>         <preference name="StatusBarOverlaysWebView" value="false" />
>         <preference name="StatusBarBackgroundColor" value="#000000" />
>         <preference name="StatusBarStyle" value="lightcontent" />
>     </platform>
> {code}
>            Reporter: Ashraf Yussouff
>              Labels: iOS, reproduced, triaged
>         Attachments: Simulator Screen Shot Dec 7, 2015, 10.28.04 AM.png, Simulator Screen
Shot Dec 7, 2015, 10.28.16 AM.png, Simulator Screen Shot Dec 7, 2015, 10.28.24 AM.png, Simulator
Screen Shot Dec 7, 2015, 10.28.34 AM.png, Simulator Screen Shot Dec 7, 2015, 10.28.39 AM.png
>
>
> App uses Single Page Architecture. All HTML is loaded from a remote server into a div
tag on the page. A header bar at the top of the page is fixed and is outside the div tag used
for loading the remote HTML.
> With StatusBarOverlaysWebView=false  in config.xml, app starts correctly in simulator
with the status bar above the page header bar.
> Sequence of steps:
> # Load HTML with a <video> tag for some mp4 video
> # Start playback of video
> # Simulate device rotation using Simulator->Hardware->Rotate Left
> #* Video automatically switches to fullscreen and fills the entire simulator screen
> # Simulate rotation back to portrait mode using Simulator->Hardware->Rotate Right
> # Click "Done" to exit native player
> # NOW THE STATUS BAR COVERS THE WEBVIEW - WebView is now pushed all the way up and behind
the status bar.
> Problem has only been noticed when recovering from fullscreen video playback involving
device rotation.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message