Bug 454799 - SVG not anti-aliasing when using OpenGL backen
Summary: SVG not anti-aliasing when using OpenGL backen
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-03 14:52 UTC by keybreak
Modified: 2025-08-22 11:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Firefox (12.37 KB, image/png)
2022-06-03 14:52 UTC, keybreak
Details
gwenview (4.11 KB, image/png)
2022-06-03 14:52 UTC, keybreak
Details

Note You need to log in before you can comment on or make changes to this bug.
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).