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

Clipping issue with QGraphicsEffect on QGraphicsSvgItem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.0
    • Fix Version/s: None
    • Component/s: Widgets: GraphicsView
    • Labels:
      None
    • Environment:
      Linux 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
      CENTOS 7
      KDE 4.14.8
    • Platform/s:
      Linux/X11

      Description

      I encountered a strange clipping behaviour when using QGraphicsSvgItems with an attached QGraphicsColorizeEffect.

      One can see the issue in the top left view in the attached image (StrangeClipping.png).

      The four views show:

      • top left; elementId = "outline"; attached QGraphicsColorizeEffect with color yellow
      • top right; elementId = ""; attached QGraphicsColorizeEffect with color yellow
      • bottom left; elementId = "outline"; no QGraphicsColorizeEffect
      • top right; elementId = ""; no QGraphicsColorizeEffect

      This image is created from the attached example contained in minimal.zip

      I assume that some bounding box is incorrect, but the bounding box of the QGraphicsSvgItem seems correct to me.

       

        Attachments

        1. minimal.zip
          5 kB
        2. StrangeClipping.png
          StrangeClipping.png
          75 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              bibr Andreas Aardal Hanssen
              Reporter:
              philipp_bausch Philipp Bausch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes