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

[Windows][HighDpi]: When showing a messagebox in an environment with a 4k monitor as a secondary screen (not passing the desktop widget parent) then it will not be sized correctly

    XMLWordPrintable

Details

    • eb50193136c7c73be864e3232d01e98ddc24e539 (qtbase/5.6, 31.5.2016, 5.6.2)

    Description

      [Windows][HighDpi]: When showing a messagebox in an environment with a 4k monitor as a secondary screen then it will not be sized correctly. This was done with the Fusion style.

      Screens: 2, High DPI scaling: inactive
      # 0 "\\.\DISPLAY1" Depth: 32 Primary: yes
        Geometry: 1920x1200+0+0 Available: 1857x1200+63+0
        Virtual geometry: 5760x2160+0+0 Available: 5697x2160+63+0
        2 virtual siblings
        Physical size: 519x324 mm  Refresh: 59 Hz Power state: 0
        Physical DPI: 93.9653,94.0741 Logical DPI: 96,96 Subpixel_None
        DevicePixelRatio: 1 Pixel density: 1
        Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      
      # 1 "\\.\DISPLAY2" Depth: 32 Primary: no
        Geometry: 3840x2160+1920+0 Available: 3778x2160+1982+0
        Virtual geometry: 5760x2160+0+0 Available: 5697x2160+63+0
        2 virtual siblings
        Physical size: 621x341 mm  Refresh: 59 Hz Power state: 0
        Physical DPI: 157.063,160.891 Logical DPI: 144,144 Subpixel_None
        DevicePixelRatio: 1 Pixel density: 2
        Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      

      Attachments

        1. messagebox.png
          messagebox.png
          7 kB
        2. qtbug52735.zip
          3 kB
        3. qtbug52735.zip
          0.8 kB
        4. qtdiag.txt
          5 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              andysh Andy Shaw
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes