Bug 142744 - icons are scaled up not down when an icon size is missing
Summary: icons are scaled up not down when an icon size is missing
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: needs_verification
: 108748 183800 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-09 16:11 UTC by Janet
Modified: 2009-06-21 01:49 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janet 2007-03-09 16:11:41 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Debian testing/unstable Packages
OS:                Linux

E.g. I have set the icon size for konqueror filemanager to 96. Now I choose an icon for a folder which is only available in 128 and 64 and below. Instead of using the 128x128 icon and scale it down to 96x96 the 64x64 icon is used and scaled up - which results in a badly blurry icon. Really nasty it gets when the next smaller icon is such small as 32x32. 

Expected behaviour: When an icon is not available in the right size the next bigger icon should be used and scaled down instead of using the next smaller icon and scale it up  - a scaled down icon is always much clearer than a scaled up icon.
Comment 1 FiNeX 2008-12-10 03:11:29 UTC
What is doing KDE 4 on this situation?
Comment 2 Janet 2009-05-17 23:27:48 UTC
Problem still exists in dolphin of KDE 4.2.3.
I've created a test icon in size 32x32 and 128x128, set the icon size to 64x64, created a new folder and assigned the test icon to it. Badly blurry, icon is scaled up from 32 not scaled down from 128.
Comment 3 Janet 2009-05-18 02:04:27 UTC
To be more precise: It doesn't only happen in dolphin (konqueror, folder view widget). And when I set the icon size to 96 the icon is scaled down from 128 which is the desired behaviour. But when I set the icon size in dolphin etc. to something below that the icon for this folder is scaled up from the next smaller available version, in this case 32. And an icon scaled up from 32x32 to 80x80 looks quite "funny".

Maybe someone can assign this to some other part than kdesktop please?
Comment 4 Christoph Feck 2009-06-21 01:41:44 UTC
*** Bug 108748 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2009-06-21 01:43:11 UTC
Fixed with http://websvn.kde.org/?view=rev&revision=952401
Comment 6 Christoph Feck 2009-06-21 01:49:17 UTC
*** Bug 183800 has been marked as a duplicate of this bug. ***