Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70060

Status bar disappears after webview fullscreen video in landscape mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.11.1
    • WebView
    • None
    • Qt 5.11.1
      iPhone 6, iOS 11.4.1
    • iOS/tvOS/watchOS

    Description

      The iOS status bar disappears after viewing a fullscreen video from the WebView (e.g. YouTube) and switching to landscape mode while viewing. This does not happen when you stay in portrait mode while viewing, in this case the status bar is correctly shown again after closing the video.

       

      Steps to reproduce:

      1. Create empty Qt Quick Application

      2. Add this code

      import QtQuick 2.9
      import QtQuick.Window 2.2
      import QtWebView 1.1
      
      
      Window {
        visible: true
        width: 640
        height: 480
        title: qsTr("Hello World")
      
      
        WebView {
          id: webview
          width: parent.width
          height: width * 0.5625
          anchors.verticalCenter: parent.verticalCenter
          visible: !loading
          url: "https://www.youtube.com/embed/CjyjEUFn_FI"
        }
      }
      

      3. Start video from WebView --> opens in fullscreen mode

      4. Tilt device to go to landscape mode

      5. Tilt back to portrait mode (or stay in landscape, both do not work)

      6. Close video

      7. Status bar is gone, status bar height is 0

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            h00bs Alex Huber
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes