Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44118

QML Window go to fullscreen on an incorrect monitor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.4.0
    • None
    • Windows 8

    Description

      Run the QML file:

      import QtQuick 2.0
      import QtQuick.Controls 1.0
      import QtQuick.Window 2.0
      
      ApplicationWindow {
          id: root
          width: 200
          height: 200
          x: -500 // change it so that window will be placed on a secondary monitor
          y: 400
          visible: true
          MouseArea {
              anchors.fill: parent
              onClicked: root.visibility = (root.visibility == Window.FullScreen) ? Window.Windowed : Window.FullScreen
          }   
      }
      

      The window should be initially located at a secondary monitor.
      Click on the window, it will go to fullscreen and be placed on a primary monitor, but not on the secondary one.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lagocs Laszlo Agocs
              t.artikov Timur Artikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes