Summary: | Get rid of hardcoded icon sizes | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Lukas Sommer <sommerluk> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | infmtk, sommerluk |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Lukas Sommer
2011-05-23 09:26:49 UTC
With the current Qt SVG render capabilities, it is unfortunately not possible to generate the pixmaps directly from the SVG files, so only pixmaps can be scaled. The big problem here is that icon scaling results in very low quality icons because the icons get blurry. This is the reason why icon themes come in discrete pre-generated sizes and the user is able to pick a size which she prefers. Skulpture simply ignores the Small and Large (=Dialog) icon size set in System Settings, which is wrong IMHO, but there were no such settings when I wrote it. To resolve this issue, we either need better SVG support (including filters for the shadows etc.), or a completely new icon format that supports hinted scaling similar to fonts. Indeed KDE 5 material. What this bug probably should be about is a much worse situation in some KDE components, mostly very old code and Kickoff: Hardcoded icon sizes, where the user has NO way to change them at all. Some bugs are already reported, but there might be more cases where applications or KDE components request hardcoded sizes. I'd like to see this fixed too. (In reply to Christoph Feck from comment #1) > To resolve this issue, we either need better SVG support (including filters > for the shadows etc.), or a completely new icon format that supports hinted > scaling similar to fonts. Indeed KDE 5 material. It's rather surprising that Scalable Vector Graphics can't be scaled using their vectorial nature. Is there any progress about this, now that we are already in KDE 5? Actually, the Breeze icons are SVG files. They simply omit the features QtSVG does not support. Current KDE versions use SVG icons that scale nicely. Closing. |