Bug 489689 - Deleting an icon theme that's being used by the system causes odd results
Summary: Deleting an icon theme that's being used by the system causes odd results
Status: CONFIRMED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 17:58 UTC by Henning
Modified: 2025-01-25 14:19 UTC (History)
8 users (show)

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 Henning 2024-07-03 17:58:17 UTC
This is a visual bug, caused by some background breakage.

I am using Breeze Dark, and tried the theme "Elementary X" through Discover, it installed fine (does not display the possible options but just downloads the first one) and applying them worked fine.

Then it slowly reloaded the icons, I decided against and deleted the theme from Discover.

What happened is, some switch to Breeze was done. But the icons where black, so probably Breeze light.

But then on the lock screen all icons were missing, so this used theme may be incomplete.

Instead of falling back to default Breeze, the system should fallback to the Theme matching the rest of the Desktop colors. And something may be broken with the switching, maybe the lockscreen theme was not applied? I see the icons sometimes only reload if they are hovered over. Maybe the lockscreen is not loaded so it doesnt load the icons?

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Comment 1 Nate Graham 2024-07-22 19:18:44 UTC
Is Elementary X a global theme or a plasma theme?
Comment 2 Henning 2024-07-23 20:36:04 UTC
I am on Fedora Kinoite where global themes do not work if they include SDDM themes, as these are in immutable /usr currently.

but it is actually an icon theme. Only icons are affected.

https://www.pling.com/p/1998755/

It is this theme. I use Breeze Dark but when uninstalling that Elementary Icon theme, it switched back to Breeze Light icons.

And trying the Lockscreen (Ctrl+L) the buttons for audio playback with a music player were missing.

The pause icon and the forward and backwards buttons were all missing.
Comment 3 Nate Graham 2024-07-24 19:44:32 UTC
I can reproduce the issue! It looks like deleting the active icon theme fails to update ~/.kdeglobals, so it still has:

> [Icons]
> Theme=[the icon theme you just deleted]

Which probably has undefined behavior.

The same is is *not* seen in the icons KCM; deleting the active icon theme updates the file appropriately.
Comment 4 Harald Sitter 2025-01-25 14:19:00 UTC
Moving to kns. Realistically it needs to deal with any cleanup that needs to happen as part of uninstall.