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

[REG 5.13->5.14] QSvgRenderer draws at incorrect position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.14.0
    • SVG Support
    • None
    • Tested on openSuse Leap 15.0, WIndows 10 and macOS 10.14
    • All

    Description

      When rendering a SVG graphic with QSVGRenderer::render() within the overriden paint() method of a QGraphicsItem, the result is not drawn at the right position, only in Qt 5.14; all other Qt versions work correctly. See the attached screenshots for comparison.

      Attached as well a project to reproduce the issue.

      Attachments

        1. Screenshot_Qt_5_13.png
          Screenshot_Qt_5_13.png
          24 kB
        2. Screenshot_Qt_5_14.png
          Screenshot_Qt_5_14.png
          26 kB
        3. svgrendtest.tar.gz
          4 kB

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              plcl Pedro López-Cabanillas
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes