Bug 500774 - .svg icon rendered badly
Summary: .svg icon rendered badly
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 6.3.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 14:39 UTC by Liz Lee
Modified: 2025-03-16 03:47 UTC (History)
3 users (show)

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


Attachments
here you can see the bad rendering of the icon (the fedora logo) (7.36 KB, image/png)
2025-02-26 14:39 UTC, Liz Lee
Details
the .svg icon file (2.35 KB, image/svg+xml)
2025-02-26 14:40 UTC, Liz Lee
Details
applying the icon (428.29 KB, video/webm)
2025-02-26 20:43 UTC, Liz Lee
Details
the icon rendered by dolphin (5.33 KB, image/png)
2025-02-26 20:49 UTC, Liz Lee
Details
the icon rendered by dolphin with better contrast again (5.09 KB, image/png)
2025-02-26 20:55 UTC, Liz Lee
Details
another file that works (3.15 KB, image/png)
2025-02-26 20:57 UTC, Liz Lee
Details
the working .svg icon file (3.65 KB, image/svg+xml)
2025-02-26 20:58 UTC, Liz Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Lee 2025-02-26 14:39:12 UTC
Created attachment 178896 [details]
here you can see the bad rendering of the icon (the fedora logo)

STEPS TO REPRODUCE
1. choose a custom .svg file as icon in "configure application launcher" -> "general" -> "icon"


OBSERVED RESULT
icon is rendered badly. no anti-aliasing seems to be applied.


EXPECTED RESULT
the edges of the icon should be rendered smooth.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.4-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon R9 380 Series

openGL (EGL) info:
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL driver name: kms_swrast
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.0, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.4
OpenGL core profile shading language version: 4.50

opengl (GLX) info:
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon R9 380 Series (radeonsi, tonga, LLVM 19.1.0, DRM 3.60, 6.13.4-200.fc41.x86_64) (0x6939)
    Version: 24.3.4
    Accelerated: yes
    Video memory: 4096MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 20097 MB
    Currently available dedicated video memory: 3292 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon R9 380 Series (radeonsi, tonga, LLVM 19.1.0, DRM 3.60, 6.13.4-200.fc41.x86_64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
Comment 1 Liz Lee 2025-02-26 14:40:26 UTC
Created attachment 178897 [details]
the .svg icon file
Comment 2 Nate Graham 2025-02-26 19:57:36 UTC
Looks fine to me at 175% scale, 200% scale, and 100% scale.

Can you take a screen recording of yourself applying this icon in the way that makes it look bad?
Comment 3 Liz Lee 2025-02-26 20:43:02 UTC
Created attachment 178918 [details]
applying the icon

yes, of course.

i noticed it at one time in the past few days. i am pretty sure the time i noticed it was the time it occured, as it bothers my visual sense of aesthetics very much.

i have no scaling activated, so it's at 100%, but i tested it and it does look bad at 125% too.

i have been using this exact file for over a year without any problems.
Comment 4 Liz Lee 2025-02-26 20:44:36 UTC
i think it is clearly visible in comparison to the kde-default and firefox logos that the fedora logo lacks antialiasing.
Comment 5 Liz Lee 2025-02-26 20:49:27 UTC
Created attachment 178919 [details]
the icon rendered by dolphin

when the icon-file preview is rendered by dolphin it looks flawless too.
Comment 6 Liz Lee 2025-02-26 20:55:39 UTC
Created attachment 178920 [details]
the icon rendered by dolphin with better contrast again
Comment 7 Liz Lee 2025-02-26 20:57:47 UTC
Created attachment 178921 [details]
another file that works
Comment 8 Liz Lee 2025-02-26 20:58:32 UTC
Created attachment 178922 [details]
the working .svg icon file
Comment 9 Liz Lee 2025-02-26 21:10:26 UTC
deleting the cache (~/.cache/*) also didn't help. (of course rebooting doesn't either.)
Comment 10 Nate Graham 2025-02-28 16:36:13 UTC
Thanks for the screen recording.

I genuinely have no idea why you're experiencing this problem. The SVG looks fine to me on my system and is well-formatted internally.

Any chance you can re-test in a new clean user account? Does it happen there too?
Comment 11 Liz Lee 2025-03-01 09:36:20 UTC
(In reply to Nate Graham from comment #10)
> Thanks for the screen recording.
> 
> I genuinely have no idea why you're experiencing this problem. The SVG looks
> fine to me on my system and is well-formatted internally.
> 
> Any chance you can re-test in a new clean user account? Does it happen there
> too?

i will try it in a vm the upcoming days
Comment 12 Bug Janitor Service 2025-03-16 03:47:21 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!