Bug 443506 - Not all icons update when a new Plasma Theme is applied that contains them
Summary: Not all icons update when a new Plasma Theme is applied that contains them
Status: RESOLVED DUPLICATE of bug 457821
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-09 05:34 UTC by doncbugs
Modified: 2022-08-15 18:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doncbugs 2021-10-09 05:34:01 UTC
SUMMARY
Certain icons do not update when a theme is applied despite the theme containing the relevant icons. These icons are applied properly after replacing plasmashell. From the perspective of new users, this results in themes looking like an ugly, unfinished mishmash. Night Color Control is an example. The hamburger menus could also be considered one?

STEPS TO REPRODUCE
1. Have Night Color Control visible (I pinned Status and Notifications)
2. Enable the default theme (Breeze)
3. Apply a theme that has the icon for Night Color Control (I used Willow)

OBSERVED RESULT
Night Color Control does not change.

EXPECTED RESULT
Night Color should change with the other icons.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Seems related to this bug https://bugs.kde.org/show_bug.cgi?id=432962
Comment 1 Nate Graham 2021-10-18 02:00:47 UTC
I have periodically seem this as well.

Are you seeing that it only affects System Tray icons, or other Plasma-themed icons elsewhere too?
Comment 2 doncbugs 2021-10-19 00:42:21 UTC
(In reply to Nate Graham from comment #1)
> I have periodically seem this as well.
> 
> Are you seeing that it only affects System Tray icons, or other
> Plasma-themed icons elsewhere too?

While I haven't gone out of my way to test every single configuration, I know the sticky notes widget also has this issue. Since few themers will be looking through source code to see which icon is used where, it can be a bit difficult finding themes that contain the icons. The ChromeOS theme has [knotes.svg?], so you can view the icon not being changed in sticky notes until you replace plasmashell.
Comment 3 Nate Graham 2021-10-19 15:42:30 UTC
OK, thanks. That at least means it's not limited to just the System Tray, which means it's probably a broader issue, maybe with the ever-troublesome cache.
Comment 4 Nate Graham 2022-08-15 18:59:57 UTC
*** This bug has been marked as a duplicate of bug 457821 ***