Bug 459852 - KDE not using icon theme icons when global theme icon files are empty
Summary: KDE not using icon theme icons when global theme icon files are empty
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: 5.97.0
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-30 11:50 UTC by advaith.gundu
Modified: 2023-12-13 16:02 UTC (History)
7 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 advaith.gundu 2022-09-30 11:50:56 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
I followed https://develop.kde.org/docs/extend/plasma/theme/theme-details/#use-icons-from-icon-theme, but it doesn't work. For example, if you do it with the battery icons, the battery plasmoid stops showing an icon. Again, if you do it with the network icons the network plasmoid doesn't show the Wi-Fi signal, just a solid Wi-Fi icon.

STEPS TO REPRODUCE
1. For example, go to /usr/share/plasma/desktoptheme/<your global theme>/icons/ and rename battery.svgz (If it exists) to battery.svg
2. Inside battery.svg, write "<svg></svg>"
3. Log Out and In and check the battery plasmoid.

OBSERVED RESULT
The battery plasmoid has no icon

EXPECTED RESULT
The battery plasmoid should have the icon from the icon theme

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro 22.0
(available in About System)
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Comment 1 poudinkpopinski 2023-03-10 03:40:35 UTC
I have the same problem. Most icons get taken from the icon themes just fine, but a few simply refuse not show up. I found that the broken wifi icon is actually a problem with the Breeze icon theme, which is missing at least the following icons:
network-wireless-0
network-wireless-0-locked
network-wireless-20
network-wireless-20-locked
network-wireless-40
network-wireless-40-locked
network-wireless-60
network-wireless-60-locked
network-wireless-80
network-wireless-80-locked
network-wireless-100
network-wireless-100-locked
network-wireless-off
network-wireless-on
However, there are also icons that I was completely unable to get to show up. These are the "Notifications" icon, the "Battery and Brightness" icon (as already mentioned) and the audio icon, specifically the task manager one used to mute and unmute individual tasks. The "Audio Volume" applet icon shows up completely fine.
Comment 2 Arjen Hiemstra 2023-12-13 16:02:48 UTC
Closing this as with Plasma 6, icons from Plasma themes are no longer supported.