Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Problem with fullscreen ApplicationWindow
QtWS25 Last Chance

Problem with fullscreen ApplicationWindow

Scheduled Pinned Locked Moved QML and Qt Quick
qmlqt5.5windows 8.1
1 Posts 1 Posters 737 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jayhut
    wrote on last edited by jayhut
    #1

    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 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved