Bug 374276

Summary: Have to log out and log back in to fully apply new icon theme
Product: [Applications] dolphin Reporter: mzs.112000 <mzs.112000>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bhush94, bugseforuns, justin.zobel, kde, kfm-devel, nate, notuxius, plasma-bugs, zrenfire
Priority: NOR    
Version: 20.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mzs.112000@gmail.com 2016-12-29 07:29:36 UTC
When I set a new icon theme, very few of the icons actually change.
In order to fully apply the icon theme, I have to log out of my session, and log back in. This is not a showstopper, however it is an annoyance. And it makes it tedious to change your icon theme.


Steps to reproduce:
1.) Download a new icon theme with GHNS(or manually if you like)
2.) Go to your icon settings, and appy the theme(or one thats already on your system, anything will work)
3.) Wait for it to "apply"
4.) See that only a few icons have changed.
5.) Log out of your session.
6.) Log back in to your session.
7.) You should see that all of the icons have now applied.

What happens:
The icons do not apply until you have logged out, and then logged back in.

What should happen:
You should see the icons apply soon after you select them and apply them, without having to log out, and log back in.
Comment 1 Christoph Feck 2016-12-31 21:46:23 UTC
This could be a duplicate of bug 365363. Please re-test when KF5 frameworks 5.30.0 is released.
Comment 2 Patrick Silva 2017-05-26 23:09:06 UTC
Bugs when the icon theme is changed...
Sometimes icons of favorite apps list in app menu are updated only after restart plasma session;
Many icons in system settings are updated only after restart the system settings app or restart plasma session;
Icons from plasma-pa (microphone and speakers) are updated only after restart plasma session;
I have "minimize all windows" widget on my panel, its icon sometimes is updated immediately, sometimes on mouseover, sometimes only after restart plasma session.

Tested on Arch (plasma 5.9.5, frameworks 5.34) and neon dev.
Comment 3 Alexander Mentyu 2017-11-23 16:16:00 UTC
I noticed that icons are applying immediately for example in 'Task Manager' and only after restarting in 'Dolphin'
Comment 4 Kai Uwe Broulik 2017-11-23 16:28:19 UTC
Dolphin has its own pixmap cache which I fixed to be cleared when changing colorscheme (so Breeze icons recolorize themselves) but I haven't yet figured out a good way to have it do that when the icon theme changes.
Comment 5 Justin Zobel 2020-10-25 10:38:05 UTC
(In reply to Kai Uwe Broulik from comment #4)
> Dolphin has its own pixmap cache which I fixed to be cleared when changing
> colorscheme (so Breeze icons recolorize themselves) but I haven't yet
> figured out a good way to have it do that when the icon theme changes.

Kai did you manage to find a good way to force a clearing of the cache when icons are changed?
Comment 6 Nate Graham 2021-03-20 02:37:52 UTC
I can't reproduce the issue in Plasmashell anymore. Everything changes instantly, except for the icons which actually come from the Plasma theme and not the icon theme (which is a thing I'm not happy about and I want to make all icons come from the icon theme at some point). However I can reproduce Dolphin not fully changing. Moving this bug over there.
Comment 7 Patrick Silva 2023-11-20 14:34:17 UTC
Can reproduce on Plasma 6 alpha. After changing the icon theme in the KCM, the icons in the panel are updated on mouseover and the ones on desktop are updated after restarting Plasma.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland