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

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

XMLWordPrintable

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

      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.

        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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes