Priority: P2: Important
Affects Version/s: 5.12.0
Fix Version/s: None
Component/s: Widgets: GraphicsView
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
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.