Problem with fullscreen ApplicationWindow
-
wrote on 28 Sept 2015, 12:02 last edited by jayhut
Hello,
I develop a Qt 5.5 application on Windows 7. The target device is a Windows 8.1 tablet.
The application works fine on Windows 7 but I have a problem with the ApplicationWindow (in fullscreen mode) on Windows 8.1.
When the window looses the focus (pressing the Windows button or the power button for instance), the application still runs in background but the window does not repaint itself.
Here is a snippet of my use of the ApplicationWindow:
import QtQuick 2.5 import QtQuick.Controls 1.4 import QtQuick.Window 2.2 ApplicationWindow{ id: mainWindow title: qsTr("TestWindow") visibility: Window.FullScreen visible: true Rectangle { id: contentPanel anchors.fill: parent color: "#5d7071" Text{ anchors.centerIn: parent horizontalAlignment: Text.AlignHCenter text: "Test Window\n(Click here to close)" font.pixelSize: 48 color: "lightgrey" MouseArea{ anchors.fill: parent onClicked: Qt.quit() } } } }
Have you any idea to solve this issue?
Thanks.
1/1