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

Regression 6.5.2 vs 6.6.0 beta: macOS DPI change detection fails with 6.6

    XMLWordPrintable

Details

    • macOS
    • d0378c32d (6.6), 198eaaf52 (dev), 89ce65c2d (dev), 4b21b332e (6.6)

    Description

      Looks like there is a regression vom 6.5.2 => 6.6.0. When disconnecting an external standard resolution monitor, using the MacBook retina display instead, the window content is not correctly scaled. Please see the attached screenshots.

      This does not occur when using both displays and dragging the window between them.

      Works with 6.5.2.

      import QtQuick
      import QtQuick.Window
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World Qt 6.6")
      
          Rectangle {
              color: "yellow"
              anchors.fill: parent
          }
      }
      

      Attachments

        1. qtcreator_after_screen_change.png
          qtcreator_after_screen_change.png
          476 kB
        2. qt-external.png
          qt-external.png
          373 kB
        3. qt-retina.png
          qt-retina.png
          1.17 MB
        4. raster_external.png
          raster_external.png
          56 kB
        5. raster_retina.png
          raster_retina.png
          158 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
              njeisecke Nils Jeisecke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes