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

Clipping issue with QGraphicsEffect on QGraphicsSvgItem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.0
    • Widgets: GraphicsView
    • None
    • 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
    • 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

            bibr Andreas Aardal Hanssen
            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