Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15
-
None
Description
I've attached a project that displays two ellipses on a QGraphicsScene. The only difference between these two is that the ::shape function accounts for the dash pattern. Failing to do this leads to the normal issues where certain paint artifacts don't get refreshed.
Here is a screenshot of what the project should look like when run:
The top left of the left ellipse has some left over pen strokes from the previous frame. The right ellipse is what the final result should look like.
I've only tested this on Qt 5.15.2, but it doesn't seem like Qt6 has any big changes in the ::shape implementation so I would imagine this issue would exist in those versions as well.