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

QPixmapIconEngine uses wrong icon on non-retina displays

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      QPixmapIconEngine::paint calls qt_effective_device_pixel_ratio with window = 0, which qApp->devicePixelRatio

      This results in down-scaled retina images used on non-retina screens, which looks quite ugly.

      With patch applied the device aspect ratio is taken from painter instead.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              sorvig Morten Sørvig
              Reporter:
              knopp Matej Knopp
              PM Owner:
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes