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

Native theme icons are blurry on macOS when displayed with IconImage/IconLabel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.10
    • Quick: Controls 2
    • None

    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

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes