Bug 182191 - KWin uses icons of the wrong size in decorations
Summary: KWin uses icons of the wrong size in decorations
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: kdecorations (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 19:00 UTC by boski_cinek
Modified: 2014-01-08 13:16 UTC (History)
0 users

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 boski_cinek 2009-01-28 19:00:32 UTC
Version:            (using KDE 4.2.0)
Installed from:    Ubuntu Packages

KWin seems to use 48x48 scaled icons for window decoration/taskbar, which resulting ugly, fuzzy icons. It should use 16x16 (or maybe 22x22), which will give us better user experience.
Comment 1 lucas 2009-01-29 04:36:45 UTC
KWin uses whatever icon the window tells it to use. We are not given a filename so there is not much we can do about that.
Comment 2 lucas 2009-01-29 11:58:51 UTC
*** Bug 182275 has been marked as a duplicate of this bug. ***
Comment 3 lucas 2009-01-29 16:25:00 UTC
My bad, I incorrectly read the specifications. There are multiple icons available in different sizes.
Comment 4 Martin Flöser 2014-01-08 13:16:36 UTC
This should finally be fixed for good in the next version.

commit 9c474b70a360995e91b5bf6c91c72fffdb000e5c
Author: Martin Gräßlin <mgraesslin@kde.org>
Date:   Fri Dec 6 14:41:23 2013 +0100

    [kwin] Use a QIcon in Client for the icons instead of Pixmaps
    
    Client used to have dedicated methods for different icon sizes instead
    of combining all pixmaps into one QIcon. This resulted in various parts
    of KWin having different access to the icons:
    * effects only got one pixmap of size 32x32
    * decorations only got the 16x16 and 32x32 pixmaps combined into a QIcon
    * tabbox could request all icon sizes, but only as pixmap
    
    Now all sizes are available in one QIcon allowing to easily access the
    best fitting icon in a given UI.