Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10158

StatusBar issue when recovering from fullscreen video playback in landscape mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.4.1
    • None

    Description

      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:

      1. Load HTML with a <video> tag for some mp4 video
      2. Start playback of video
      3. Simulate device rotation using Simulator->Hardware->Rotate Left
        • Video automatically switches to fullscreen and fills the entire simulator screen
      4. Simulate rotation back to portrait mode using Simulator->Hardware->Rotate Right
      5. Click "Done" to exit native player
      6. 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.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              tabalchi Ashraf Yussouff
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: