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

QSGThreadedRenderLoop warning generated when Qml windows are shown on 2nd monitor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.6.0
    • 5.5.0
    • None
    • Windows 7 x64 SP1
      Qt 5.5.0 (msvc2013, official package)
      Desktop OpenGL (on latest official NVIDIA driver)
      Two 1920x1080 monitors attached to same graphics card

      Showing any window (top-level, children, popup menus, etc.) from Qml on the second monitor of my dual-monitor setup generates the following warning:

      QSGThreadedRenderLoop: expose event received for window QQuickWindow(0x36cb450) with invalid geometry: QRect(2800,460 160x160) on QScreen(0x3c6610)

      This warning is not output if the window is made visible on the first monitor. Here are the QScreen dimensions reported for a default-constructed QWindow in my app:

      Screen availableGeometry: QRect(0,0 1920x1050)
      Screen availableVirtualGeometry: QRect(0,0 3840x1080)
      Screen availableVirtualSize: QSize(3840, 1080)
      Screen virtualGeometry: QRect(0,0 3840x1080)
      

      I've attached a minimal app (screentest.zip) that reproduces the issue. But the following Qml file is sufficient to produce the warning:

      import QtQuick 2.5
      import QtQuick.Window 2.0
      
      Window {
      	visible: true
      }
      

        1. screentest.png
          screentest.png
          222 kB
        2. screentest.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            janichol Andy Nichols
            acossette Alexandre Cossette-Pacheco
            Votes:
            7 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes