Bug 499056 - When an icon theme is missing an icon, fall back to a found icon in the fallback theme first, before trying a more generic icon in the current theme
Summary: When an icon theme is missing an icon, fall back to a found icon in the fallb...
Status: RESOLVED DUPLICATE of bug 476084
Alias: None
Product: frameworks-kiconthemes
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.10.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-23 14:58 UTC by David de Cos
Modified: 2025-01-23 16:01 UTC (History)
3 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 David de Cos 2025-01-23 14:58:35 UTC
Oxygen provides battery status symbolic icons for charges like 40%, 60% and 80%, so those icons are correctly shown when the level is closer to those numbers. However, when the level is closer to odd multiples of 10, like 50%, 70% or 90%, Oxygen shows a completely different non-symbolic icon (the one named "battery", in the devices folder), which provides no visual indication of charge level.

I see three problems here:

1) Oxygen is missing some battery icons. I reported that in Bug 498898, and the author will provide them in a further release.

2) Even if the icons are missing, the fallback should be to their Breeze counterparts, not to a non-symbolic Oxygen icon that is somewhat related.

3) Strangely, symlinking does not work. That is, doing "ln -s battery-charging-080.png battery-charging-090.png" does not change the behavior, and the non-symbolic icon is still shown when the battery charge is closer to 90%. That means that, even if the author provides the missing icons, they still won't be shown.

Operating System: openSUSE Tumbleweed 20250121
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.10-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-01-23 16:00:56 UTC
> 2) Even if the icons are missing, the fallback should be to their Breeze counterparts, not to a
> non-symbolic Oxygen icon that is somewhat related.

This isn't the way our icon loader works, and it's sort of an inherently subjective thing as to what should happen. Whichever one you choose, someone will complain, because there's no objectively correct course of action here. Some people get *really* mad about icons being mixed between icon themes.
Comment 2 Nate Graham 2025-01-23 16:01:25 UTC
*** This bug has been marked as a duplicate of bug 476084 ***