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

Incorrect window size on 2 Displays with different scaling.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.14.1
    • GUI: High-DPI
    • None
    • Windows 10 20H1, 1x 1440p display, 1x 1080p display.
    • Windows

    Description

      With 2 displays set to the same resolution and different windows scaling factors, switching from second screen only to extended mode (windows p) will cause the app window size to scale incorrectly. Issue can be seen with with "address book" and "qt extras - flat" sample apps as well as Qt creator.

      Steps to Reproduce

      1. Set scaling on primary display to > 100%, set scaling on secondary display to 100%
      2. Set displays to second only mode, have Qt app show on second display
      3. Set displays to extend mode

      Observe that once on the primary display, the app window size is larger than it should be, as if it was retaining the scaling from the non-scaled secondary display (see attachments, % indicate scaling of primary display).

       

      Issue does not reproduce if scaling of both displays is the same.

      Issue does not reproduce if resolutions of displays are set different.

      Attachments

        1. 125%.PNG
          125%.PNG
          31 kB
        2. 150%.PNG
          150%.PNG
          34 kB
        3. 175%.PNG
          175%.PNG
          37 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            drchen Derek Chen
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes