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

QPixmapIconEngine uses wrong icon on non-retina displays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.14
    • 5.4.0
    • None
    • 61def1f6cdf2eff521f77c9186fc3bb929359ab9 5911335756dff5a917e4a7ccf025816c08ddd656

    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:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes