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.
So I think it's time to close this as RESOLVED UPSTREAM. The Qt folks have put work into improving their SVG renderer, with some improvements landing in 6.7, and others in 6.8, with still more to come. So far no feasible alternative to waiting for these fixes has emerged. That makes it, in all practicality, purely an upstream issue, and thankfully our upstream appears to be working to address it.