Summary: | KWin uses icons of the wrong size in decorations | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | boski_cinek |
Component: | kdecorations | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
boski_cinek
2009-01-28 19:00:32 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. *** Bug 182275 has been marked as a duplicate of this bug. *** My bad, I incorrectly read the specifications. There are multiple icons available in different sizes. 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. |