Bug 454799

Summary: SVG not anti-aliasing when using OpenGL backen
Product: [Applications] gwenview Reporter: keybreak <fear.filter>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: idontfeelcomfygivingyoumyemail, magicmyth
Priority: NOR    
Version First Reported In: 22.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Firefox
gwenview

Description keybreak 2022-06-03 14:52:12 UTC
Created attachment 149431 [details]
Firefox

SUMMARY
Compared to Firefox there's jagged edges everywhere.
It's kinda big deal when viewing svg...

Test image:
https://movingshadow.com/images/packshots-hires/MSXEP027.min.svg
Comment 1 keybreak 2022-06-03 14:52:31 UTC
Created attachment 149432 [details]
gwenview
Comment 2 Adam Lyall 2023-06-09 11:11:23 UTC
I can confirm with Gwenview 23.04.1 that SVGs are being rendered with no anti-aliasing. Edges are very jagged. I have not really used Gwenview for viewing SVGs for a while so can't say when this started or if it was doing it for 22.04.1 as the OP reported.
Comment 3 A Linux User 2025-08-21 00:45:56 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0?
Comment 4 Adam Lyall 2025-08-22 10:08:57 UTC
I had totally forgot about this bug.

Yes the issue still occurs. I had not thought of it for a long time because I've had SVGs default to Inkscape for me for a long time. So I thought I'd play with some of the settings in Gwenview and discovered it is caused Image View > Animations being set to OpenGL. If I set it to software the SVG is instantly rendered correctly. Note it does not happen if the SVG is being rendered at 100% scale.

In case it helps, the GPU is the HD Graphics 530 iGPU of an Intel Skylake CPU.
Comment 5 A Linux User 2025-08-22 11:04:27 UTC
Thanks for playing around with it!
Can confirm that it is cause by the OpenGL setting.

(In general, OpenGL is a bit buggy, e.g. it crashed on AMD cards opening videos and such).