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

Window item's logical x and y positions are broken in non-primary Monitor when High DPI scaling is in effect on secondary monitor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6.0 RC
    • None
    • Windows 10 x64, 2 monitors @ 3840 × 2160 with 200% DPI setting in both monitors.
      Qt 5.6.0-rc official build for VS 2013 x64

    Description

      When Auto Scaling is enabled Window item reports wrong x and y position when the window is not in the primary monitor in a multi monitor setup with high DPI setting of 200% or more.

      1) Using two monitors with the same 4k resolution and 200% dpi
      2) Enable auto scaling (QT_AUTO_SCREEN_SCALE_FACTOR=1 can be used)
      3) Run attached example and start moving the window from the primary monitor towards a second monitor; you'll notice:

      • While in the primary monitor. Window.x and Window.y report logical pixels values
      • When around half the window gets into the non-primary monitor Window.x and Window.y jumps to physical pixels values

      This was working in Qt 5.5

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              hernan.c.martinez Hernan da Cunha Martinez
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes