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

QScreen reports wrong geometry on dual HiDPI screens

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.6.1, 5.9.1
    • GUI: Workspace
    • None

       

      Example code:

      QList<QScreen*> screens = qApp->screens();
      for ( const QScreen *screen : screens) {
          qDebug() << screen->geometry();
      }
      

      Output

      QRect(0,0 1093x614)

      QRect(1366,0 1536x864)

      Expected:

      QRect(0,0 1093x614)

      QRect(1093,0 1536x864)

       

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

            hualet Hualet Wang
            hualet Hualet Wang
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes