https://bugs.kde.org/show_bug.cgi?id=514103
Bug ID: 514103
Summary: Blurry icons when using some SVG icon theme
Classification: Frameworks and Libraries
Product: frameworks-kiconthemes
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 188178
--> https://bugs.kde.org/attachment.cgi?id=188178&action=edit
Blurry icons even when SVG files are available
SUMMARY
Blurry icons when using some SVG icon theme
STEPS TO REPRODUCE
1. Install an SVG icon theme, e.g., Gartoon Redux
- The package is available in Ubuntu 25.10 repo, package name:
gnome-icon-theme-gartoon-redux
2. Select the icon theme in System Settings > Colors & Themes > Icons
3. Launch Dolphin and zoom in (increase icon size)
OBSERVED RESULT
Icons should be smooth
EXPECTED RESULT
Icons are blurry. See the attachment blurry_icons.png
SOFTWARE/OS VERSIONS
Operating System: Ubuntu 13
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-7-generic (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
The relevant code is in kiconthemes/src/kicontheme.cpp
- KIconTheme::iconPathByName() returns the first matching icon matching a name
- The extensions to be considered are .png, .svgz, .sgv, .xpm in that order, as
defined by mExtensions
- For example, for `inode-directory`, there are two matching files:
+ /usr/share/icons/GartoonRedux/32x32/mimetypes/inode-directory.png
+ /usr/share/icons/GartoonRedux/scalable/mimetypes/inode-directory.svg
- The first file is selected even though the second one is better
To confirm the analysis, I re-ordered the extensions to prioritize .svg over
.png files and the icons are now smooth.
--
You are receiving this mail because:
You are watching all bug changes.