Summary: | Add firewall-applet-shields_down icon to Breeze icon theme | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | Wolfgang Bauer <wbauer1> |
Component: | Icons | Assignee: | visual-design |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | fkrueger, kainz.a, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-framework/b7fa6e0e916bd8856cbf85b2d3886bc1e7b0e278 | Version Fixed In: | 5.68 |
Sentry Crash Report: | |||
Attachments: |
Screenshot showing the problem
Screenshot after manually adding a firewall-applet-shields_down icon |
Description
Wolfgang Bauer
2020-02-17 09:36:31 UTC
Created attachment 126097 [details]
Screenshot showing the problem
Attached a screenshot with "Oxygen" as desktop theme and "Breeze" color scheme.
Created attachment 126098 [details]
Screenshot after manually adding a firewall-applet-shields_down icon
And another screenshot how it looks after I manually added firewall-applet-shields_down.svg (as a symlink to firewall-applet.svg), the icon is white now as it should be.
So, to summarize, this could be fixed just by adding firewall-applet-shields_down to the breeze icon theme (even if it is just a symlink to the existing firewall-applet icon).
But to me it seems to be a glitch in the icon loader, that maybe should be investigated as well.
Btw, the same happens with the "Breeze Dark" desktop theme, so it's not specific to "Oxygen"... And perhaps I should add that it doesn't make a difference whether I use "breeze" or "breeze-dark" as icon theme (and deleting ~/.cache/icon-cache.kcache doesn't change anything either, so it's not due to an outdated icon cache). The color problem for fallback icons will be fixed by https://phabricator.kde.org/D27589, I just tried it out. So it wouldn't really be necessary anymore to actually add the firewall-applet-shields_down icon explicitly. Oh, that's nice! Git commit b7fa6e0e916bd8856cbf85b2d3886bc1e7b0e278 by David Redondo. Committed on 02/03/2020 at 10:55. Pushed by davidre into branch 'master'. Try to apply the colorscheme of the current theme to QIcons Summary: Before icons loaded internally with QIcon::fromTheme were being colored with the colors from the current global color scheme instead of the ones from the current Plasma Theme. Leading to visual bugs when the two differ. This happened because KIconLoader uses the global color scheme by default. A prominent case is the notification send by the network plasmoid when one successfully connected to a wireless network. It sets the icon "network-wireless-on" which is not included in Breeze icons (but is included in Breeze Plasma Theme). If the current icon theme is indeed Breeze, IconItem resorts to using QIcon::fromTheme and we end up with a wrong colored "network-wireless" icon. Test Plan: {F8125752} {F8125753} Reviewers: #plasma, cblack, ngraham, mart Reviewed By: #plasma, cblack, ngraham, mart Subscribers: mart, wbauer, cblack, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D27589 M +4 -0 src/declarativeimports/core/iconitem.cpp M +2 -0 src/plasma/private/theme_p.cpp M +1 -0 src/plasma/private/theme_p.h M +6 -0 src/plasma/theme.cpp M +8 -0 src/plasma/theme.h https://commits.kde.org/plasma-framework/b7fa6e0e916bd8856cbf85b2d3886bc1e7b0e278 |