Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.11.1
-
None
-
Qt 5.11.1
iPhone 6, iOS 11.4.1
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