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

QScreen reports wrong geometry on dual HiDPI screens

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.1, 5.9.1
    • Fix Version/s: None
    • Component/s: GUI: Workspace
    • Labels:
      None
    • Environment:

      Description

       

      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)

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              hualet Hualet Wang
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes