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

[REG 5.12.4->5.12.5][HiDPI] Native window children have incorrect position on secondary screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.14.2, 5.15.0 Beta2
    • 5.12.5, 5.13.1
    • GUI: High-DPI
    • None
    • Linux/X11
    • Linux/X11
    • 08d5059320334223ff1f9009342324f25c231f0b (qt/qtbase/5.14)

    Description

      Native children of top-level window  has incorrect position after setting its geometry when scaling factor greater than 1.0 on secondary screen (e.g. screen top-left is 3840x0).

       

      Steps to reproduce: run the attached software with DPR of 2.0 on second screen with geometry of 3840,0,3840x2160. After a second the red rectangle will disappear (it will have negative top-left position). After applying  the patch the red rectangle is still visible after changing its geometry (after a second).

       

      The problem exists since https://codereview.qt-http://example.comproject.org/c/qt/qtbase/+/251797

      Attachments

        1. qtbug79166_log.txt
          2 kB
        2. qtbug79166.zip
          2 kB
        3. QTBUG-79166-native-window.zip
          1 kB
        4. qtbug79166-widgets.zip
          2 kB
        5. qtbug7966-widgets.log
          1 kB

        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
              zaps166 Błażej Szczygieł
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes