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

QScreen::geometry() does not return consistent result

    XMLWordPrintable

Details

    • Windows

    Description

      Reproducer attached. One need a secondary screen with scaling factor != 100% too see the problem.

      The reproducer simply grabs the geometry of the secondary screen and assign it to a QWidget. The expected result is that QWidget is going to exactly fill the screen. But actually, the widget is going to offset. The problem is that the position (x and y) returned by QScreen::geometry() is physical but size (width and height) is logical.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes