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

SVG is displayed with wrong size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.3, 6.6.3
    • SVG Support
    • None
    • Windows

    Description

      SVG is loaded/displayed with wrong size when display scaling setting is changed.

      1. Set display scale to 125%.
      2. Launch svgsprite app. You'll get what is shown on 125.png screenshot (i.e. good looking image).
      3. Change scale to 100%.
      4. Switch back to app. You'll get what is shown on 100.png screenshot (i.e. wrong and damaged image is shown). To fix this, one has to restart the app.

      This also happens on system with several monitors with different scale settings when the user moves app window from one monitor to another.

      Qt 5.12.12 did not have this issue.

      Attachments

        1. 125.png
          2 kB
          Alexander Dyagilev
        2. svgsprite.zip
          5 kB
          Alexander Dyagilev
        3. 100.png
          2 kB
          Alexander Dyagilev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            alervd Alexander Dyagilev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes