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

QPixmapIconEngine uses wrong icon on non-retina displays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.4.0
    • 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

              sorvig Morten Sørvig
              knopp Matej Knopp
              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