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

"QSvgIconEngine::paint" doesn't scale to fractional device pixel ratio

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.3, 5.9.0 Beta 1
    • 5.6, 5.7, 5.8
    • SVG Support
    • None
    • 810b6defac666c7652a77b5e4fd5b70a6fbe0c54 02ed4c65618b0f27b9ccb6867ab4d633612415c8

    Description

      QSvgIconEngine::paint() uses method which returns integer value, so fractional value (e.g. 1.5) is rounded down. This causes bad painting of SVG icons e.g. in QTreeWidget.
      The method which returns qreal value is available since Qt 5.6.

      Attachments

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

        Activity

          People

            zaps166 Błażej Szczygieł
            zaps166 Błażej Szczygieł
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes