Created attachment 158986 [details] The file that is rendered incorrectly SUMMARY A certain SVG file that I have is rendered incorrectly in Koko. This does not appear to happen for other SVG files I have tested. STEPS TO REPRODUCE 1. Open the attached shield.svg file in Koko. OBSERVED RESULT How the image appears in Koko: https://ibb.co/pjMJ57g Zoomed out: https://ibb.co/JQW56fz EXPECTED RESULT The image as rendered correctly by Firefox: https://ibb.co/3RhSmf5 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION
It's a general problem with the Qt SVG library that we use. See Bug 336436 and Bug 448234. In this specific case, it looks like it's related to lack of clipping support in that SVG rendering library, which I believe is being worked on for Qt 6.