https://bugs.kde.org/show_bug.cgi?id=448133

--- Comment #5 from Martin Koller <[email protected]> ---
(In reply to Reed Bement from comment #3)
> /usr/share/kolourpaint does not exist before install
> 
> After install toolbox icons exist under
> /usr/share/kolourpaint/icons/hicolor/: 
>   ~/projects/tmp/kolourpaint > d
> /usr/share/kolourpaint/icons/hicolor/48x48/actions/
>   total 84
>   -rw-r--r-- 1 root root 3253 Feb 24  2021 tool_spraycan.png
>    ...
> 
> Based on strace log, no attempt is made to open tool_spraycan.png
> No errors or warnings in terminal or under GDB.
> No errors or warnings during install/ubinstall with: sudo apt install
> kolourpaint

Interesting. kolourpaint uses Qt's QIcon::fromTheme() method to get the icon.
In Qt's documentation I read:
"Qt will make use of GTK's icon-theme.cache if present to speed up the lookup.
These caches can be generated using gtk-update-icon-cache:
https://developer.gnome.org/gtk3/stable/gtk-update-icon-cache.html.";

Maybe this cache update is somehow missing after the installation.
Can you check if
- it works automagically after a re-login or
- try running gtk-update-icon-cache manually

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to