Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.5.0 Beta
-
None
-
Mac OS X 10.10.3
Description
Window disappears when exiting fullscreen mode if using WindowStaysOnTopHint flag. Without this flag it works, but the zoom animation is a bit strange. I'm not sure if this is also a bug.
Attached is a simple test project. Click "Show second window" button. When the window appears, click fullscreen button at top left corner, then exit fullscreen mode. The window will disappear and cannot be shown again.
import QtQuick 2.4 import QtQuick.Controls 1.3 import QtQuick.Window 2.2 import QtQuick.Dialogs 1.2 ApplicationWindow { title: qsTr("Hello World") width: 640 height: 480 visible: true ApplicationWindow { id: secondWindow title: qsTr("Second Window") width: 200 height: 200 Component.onCompleted: { flags = flags | Qt.WindowStaysOnTopHint } } Button { anchors.centerIn: parent text: "Show second window" onClicked: secondWindow.show() } }