Bug 475811 - Icon won't update normally
Summary: Icon won't update normally
Status: REPORTED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.10.8
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-18 22:50 UTC by Rui Zhao
Modified: 2023-10-18 22:50 UTC (History)
0 users

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 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