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

QScreen reports wrong geometry on dual HiDPI screens

    XMLWordPrintable

Details

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

    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

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes