this post was submitted on 10 Mar 2024
80 points (96.5% liked)

Linux

48328 readers
652 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Since I upgraded all my devices to KDE 6 I have this weird issue with my laptop and media PC. The software update icon that sits in the tray and starts Discover seems to think I'm using a light plasma theme. It's only this one icon, and it's the same for all icon themes. I do not have this issue on my desktop, which has the same updates (comparison in screenshot).

I have tried the following to no avail:

  • switching between multiple icon themes
  • switching between KDE light and dark plasma themes
  • deleting ~/.share/icon-cache.kcache

Anyone have any further ideas?

OS: Nobara release 39 (Thirty Nine) x86_64
Kernel: 6.7.6-201.fsync.fc39.x86_64
Shell: bash 5.2.26
Resolution: 2560x1440
DE: Plasma 6.0.1
WM: kwin
Theme: [Plasma], Breeze [GTK2/3]
Icons: Papirus [Plasma], Papirus [GTK2/3]

you are viewing a single comment's thread
view the rest of the comments
[–] ISOmorph@feddit.de 5 points 8 months ago* (last edited 8 months ago) (1 children)

So I had some time to do some further testing into this issue and I made some "progress".

On my desktop, who has the correctly displayed light icons for the dark plasma theme: if I straight up remove ~/.cache (rename it to ~/cache.bak) and reboot, several icons become black (update, gajim and steam). Meaning that somewhere in that cache (but not ~/.share/icon-cache.kcache, since I tried that already), the correct display of icons is located.

I'll try to pinpoint it further and report back if I find anything.

[–] ISOmorph@feddit.de 5 points 8 months ago* (last edited 8 months ago) (1 children)

I managed to track it down further. The issue is that some icons (Discover, Gajim, Steam) pull their light/dark info from the “Colours” instead of the “Plasma Style”. So If you mix and match like I did (Breeze Twilight, i.e. Breeze Dark Plasma Style with Light Colours), then most icons will appear light due to the Dark Plasma Style, but some will be dark because they get their Light/Dark info from the Light Colours.

That information seems to be cached in ~/.cache/plasmashell/qmlcache/. When I delete that folder I get the broken icons. I f I use the cached folder from my desktop it’s fixed. I’m guessing some apps just are broken currently in that regard and I’m just “lucky”, that my desktop didn’t correctly flush the plasmashell cache