Bug 154335 - Scale icons (with SVG sources) smoothly
Summary: Scale icons (with SVG sources) smoothly
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-19 18:21 UTC by Simon St James
Modified: 2007-12-19 19:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Current icons scaling vs optimal (344.39 KB, image/png)
2007-12-19 18:22 UTC, Simon St James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon St James 2007-12-19 18:21:49 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Just registering this wish quickly.  If an icon (a .desktop file for an application, say) has an SVG source for its graphic, then it would be nice if, when the icon is scaled up, the image were re-rendered at the new size from the SVG source.  Screenshot to follow: note the pixelation of the KBugBuster icon on the desktop (left)  versus the clarity that could be obtained if we re-rendered the SVG at the new size (right).
Comment 1 Simon St James 2007-12-19 18:22:50 UTC
Created attachment 22625 [details]
Current icons scaling vs optimal

Current icon scaling vs what could be achieved.
Comment 2 Marco Martin 2007-12-19 18:59:15 UTC
maybe it's an issue of KIconLoader?
Comment 3 Aaron J. Seigo 2007-12-19 19:28:56 UTC
yes. the relevant call in plasma is to QIcon::pixmap which results in a call to KIconLoader with the size handed in. plasma has nothing to do with any of this.

there is also code in KIconLoader that hits the svg file, but due to various bugs in Qt right now, it's disabled for most (all?) code paths.

p.s. i wish these types of conversations would happen on panel-devel rather than on b.k.o. if it does result in a useful conclusion that is "we need to work on this" then we can file a BR.