Summary: | in vertical panel icons in systemtray are ridiculously huge | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Eugene Shalygin <eugene.shalygin+bugzilla.kde> |
Component: | System Tray | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chgonzalezg, flying-sheep, kaabud-kde, kamikazow, kejpi, mfraz74+kde, notmart, ppgess, rafael.linux.user, sayginb, simonandric5 |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
comparison
Vertical panel in KDE pre-Plasma blurry 22px icons huge icons in systray Updated to latest KDE and still not fixed this annoying but |
Description
Eugene Shalygin
2015-01-26 22:43:40 UTC
Created attachment 90683 [details]
comparison
how many dpi? the maximum size for systray icons depends from screen dpi density See above. But my concerns are not only about absolute icons size in vertical mode. It seems to me that their pixmaps are created for smaller icons, and are resized afterwards. I can confirm this problem. (fedora 21, kde plasma 5.2) I thought it was a dpi issue at first, but after manually altering the xorg.conf file with 96x96 dpi setting (correct dpi), the problem have not solved. I have changed the desktop theme to air, oxygen but the result was the same. Note that, when you resize the panel to use only one column for tray icons, the icons can be smaller depending on the size of the panel, but the default size of the icons are very big (in comparison to KDE4 tray icons). However, this might be a design decision. *** Bug 344705 has been marked as a duplicate of this bug. *** *** Bug 349047 has been marked as a duplicate of this bug. *** After some systemtray sources digging I've found out some clues I ask for clarification. There are two things icon size dependent of: 1. applets/systemtray/package/contents/ui/main.qml: property int baseSize: theme.mSize(theme.defaultFont).height It means, icon's baseSize depends on defaultFont height. Thus, font changes leads to icons size changes. 2. ./package/contents/ui/main.qml: property int itemSize: LayoutManager.alignedSize(Math.min(baseSize * 2, preferredItemSize)) It means, Icon's size equals to doubled height of theme's default font. What's the reason to bind icon size to font size? What's the reason behind the multiplier "2"? Obvious solution is to use preferred size from Desktop/Panel whatever icon theme settings, isn't it? Created attachment 95158 [details]
Vertical panel in KDE pre-Plasma
This is how it worked in KDE 4. There was a "quick launch" widget that do not exist in Plasma, and the icon launcher had a proportional size.
Created attachment 96197 [details]
blurry 22px icons
i have this problem as well. no idea of a recent sans-serif font change or system upgrade caused it, but my icons are now 22px instead of 16px like before. not only are some of the icons blurred (volume and network), but with the padding this now means i need >50px wide vertical bar to fit two columns (as seen in the screenshot above) it would be very useful to 1. add 22px versions for the missing icons 2. give an option to keep the icons small Systemtray implementation is changed, this should be one of the problems fixed. It is the case again with the current git master branch. Created attachment 100450 [details]
huge icons in systray
Illustration
Fixed again. Fixed where? master? Which commit? Created attachment 100552 [details]
Updated to latest KDE and still not fixed this annoying but
plasma 5.7.3 Huge icons in systemtray in verical panel. After viewing in design/qmls, I notice that code completely changed this time. As of now icon size depends on config entry iconSize, and there is a choice from "small", "smallMedium", "medium"... However there is no relevant option in "System Tray Settings" dialog. Thus, this is a slightly different bug this time - No visual dropdown list to choose desired icon size in Settings Dialog |