Summary: | Kmenuedit's icons don't follow the "small icons" size | ||
---|---|---|---|
Product: | [Applications] kmenuedit | Reporter: | Janet <bugzilla> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | egorov, simonandric5 |
Priority: | NOR | Keywords: | junior-jobs |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kmenuedit/5620d705708aa6bad56739a0846594e50edcfea9 | Version Fixed In: | 4.11.13 |
Description
Janet
2014-09-07 18:58:08 UTC
I love the comment in the code. Looks simple enough: we need to remove code which resize icon to 20x20 pixels. The question is why such restriction was done. You can find it in commit 56584682d, there was created appIcon() function. Seems like removing this code don't break anything. The only problem I see is in TreeView::startDrag() method. You can see hardcoded icon size here. Is it possible to extract width and height from KIconLoader::Small group? Git commit 27b8cc27af1d07d5e1023e2b3e18fff9bcf4e6f6 by Albert Astals Cid, on behalf of Boris Egorov. Committed on 28/09/2014 at 16:02. Pushed by aacid into branch 'KDE/4.11'. kmenuedit: do not resize app icons We want to use icons size taken from KIconLoader::Small group and not resize it to 20x20 pixels. Use KIconLoader::currentSize() to determine icon size of dragged item. REVIEW: 120120 FIXED-IN: 4.11.13 M +2 -8 kmenuedit/treeview.cpp http://commits.kde.org/kde-workspace/27b8cc27af1d07d5e1023e2b3e18fff9bcf4e6f6 Git commit 5620d705708aa6bad56739a0846594e50edcfea9 by Albert Astals Cid, on behalf of Boris Egorov. Committed on 28/09/2014 at 16:04. Pushed by aacid into branch 'Plasma/5.1'. kmenuedit: do not resize app icons We want to use icons size taken from KIconLoader::Small group and not resize it to 20x20 pixels. Use KIconLoader::currentSize() to determine icon size of dragged item. Acked by Christoph Feck REVIEW: 120120 M +2 -8 treeview.cpp http://commits.kde.org/kmenuedit/5620d705708aa6bad56739a0846594e50edcfea9 |