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

Named platform icons are blurry on macOS when displayed with IconImage/IconLabel

    XMLWordPrintable

Details

    • 3eb78ed3a (dev), c8a20ca83 (6.9)

    Description

      This affects all controls types that display icons, along with the new ContextMenu.

      Tested on a display with a DPR of 2.

      import QtQuick
      import QtQuick.Layouts
      import QtQuick.Controls.impl as ControlsImpl
      import QtQuick.Controls.Basic
      
      ApplicationWindow {
          id: window
          width: 400
          height: 400
          visible: true
      
          GridLayout {
              columns: 2
      
              ControlsImpl.IconImage {
                  id: iconImage
                  name: "edit-cut"
                  sourceSize: Qt.size(16, 16)
              }
              Label {
                  text: "IconImage - width: " + iconImage.width + " height: " + iconImage.height
              }
      
              ControlsImpl.IconLabel {
                  id: iconLabel
                  icon.name: "edit-cut"
                  icon.width: 16
                  icon.height: 16
              }
              Label {
                  text: "IconLabel - width: " + iconLabel.width + " height: " + iconLabel.height
              }
          }
      }
      

      Attachments

        1. Screenshot 2025-02-03 at 16.40.33.png
          Screenshot 2025-02-03 at 16.40.33.png
          265 kB
        2. quick2.zip
          8 kB
        3. quick2-1.zip
          22 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-133424
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change