Bug 475811

Summary: Icon won't update normally
Product: [Unmaintained] lattedock Reporter: Rui Zhao <renyuneyun>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.10.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rui Zhao 2023-10-18 22:50:03 UTC
SUMMARY

The icon in Latte dock is not updated after choosing a new icon pack system-wide (from systemsettings).
In fact, it does recognize "something", but does not change them. The behaviour is: if moving mouse cursor through the icon, it often flashes between the new icon and the old icon.

Deleting KDE's icon cache file (~/.cache/icon-cache.kcache) only does not work -- restarting latte at this point makes no difference. I have to delete the icon cache file and log-out and re-log-in to make Latte realize the new icon pack.

This seems to be a bug for a while, as seen in this reddit post: https://www.reddit.com/r/kde/comments/xmntc8/latte_dock_not_recognizing_system_icon_changes/

I was using ePapirus icon pack when this happened. But other icon packs also seem to trigger this.

STEPS TO REPRODUCE
1. Change system icon

OBSERVED RESULT

Latte won't change icon pack, even after restarting latte itself.

EXPECTED RESULT

Latte picks up the new icon pack, at least after a reasonable amount of time, or after manually restarting it.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.1.58-1-lts (64-bit)
Graphics Platform: Wayland