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

High DPI icons are not scaled using smooth filtering

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.2
    • Fix Version/s: None
    • Component/s: GUI: Look'n'Feel
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      1. Create a QPixmap from image
      2. Use setDevicePixelRatio(2.0) to signify this is a 2x (retina) pixmap
      3. Make an icon from pixmap and draw on a non-retina (pixel ratio 1.0) screen. Note that the pixmap has artifacts

      These artifacts appear to occur due to the use of the Qt::FastTransform when making the scaled pixmap. Possible solution: use Qt::SmoothTransform instead

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            qtuser20000 Qt Qt
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes