Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.12.11
-
None
Description
- Set window to fullscreen mode by clicking the appropriate button.
- Try to change its visibility to Hidden (in my sample code click on window's close button for this).
- Result: black screen is show, the user is not able to return to Desktop.
Sample code:
import QtQuick 2.12 import QtQuick.Window 2.12 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Component.onCompleted: flags |= Qt.WindowFullscreenButtonHint onClosing: { if (visibility == Window.FullScreen) { visibility = Window.Hidden; close.accepted = false; } } }
Attachments
Issue Links
- duplicates
-
QTBUG-68069 Exiting fullscreen window leaves the application in fullscreen mode on macOS
-
- Closed
-