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

Wrong QML Window position on systems with several GPUs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.0, 5.12.3, 5.12.4, 5.12.7, 5.13.0, 5.13.2, 5.14.1
    • None
    • I'm using Windows 7 SP1, main display is connected to discrete Radeon card, another one to integrated Intel GPU.
    • Windows

    Description

      Steps to reproduce:
      1. One display is connected to discrete card, another one - to integrated one.
      2. Create an empty QML project using Qt Creator and use this code for main.qml:
      import QtQuick 2.2
      import QtQuick.Window 2.2
      import QtQuick.Controls 2.2

      ApplicationWindow {
      visible: true
      width: 640
      height: 480
      title: qsTr("Hello World")

      Button

      { anchors.centerIn: parent text: "Show" onClicked: someWindow.show() }

      Window

      { id: someWindow }

      }
      3. Run the project, move the ApplicationWindow to secondary display.
      4. Click Show button.
      Actual result: New window is shown on the main display.
      Expected result: New window is shown over the ApplicationWindow on secondary display.

      This bug is reproduced using Qt 5.12 and 5.13. Qt 5.11.3 and 5.9.8 work fine. If both monitors are connected to one GPU - it works fine.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nikita1024 Nikita Ololoev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes