Closed danyeaw closed 3 years ago
I don't think this should be a bug in pycairo, maybe contact the Cairo mailing list or make an issue upstream?
@naveen521kk Thanks, I think you are right. Since I can only reproduce this in OpenSUSE, I submitted the bug there: https://bugzilla.opensuse.org/show_bug.cgi?id=1183562
When using a RecordingSurface I am getting bad image corruption. It changes / gets worse as the window is resized. Here is an example using the pycairo gtk example.
X11
Wayland
This was originally found when trying to use the RenderingSurface with https://github.com/gaphor/gaphas/pull/224 to speed up the rendering pipeline.
I have only been able to reproduce this issue with OpenSUSE Tumbleweed (rolling release, should be latest version of most libraries).
Here is the code, only lines changed are in the
draw()
function for creation of the overlay, punch, and circles as a RecordingSurface.