Bug 497251 - Kirigami.Icon highlight effect doesn't really work for light-colored icons
Summary: Kirigami.Icon highlight effect doesn't really work for light-colored icons
Status: CONFIRMED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.9.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-09 23:00 UTC by Fernando M. Muniz
Modified: 2024-12-11 17:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Notice how the battery gets highlighted, but the other system icons do not (ignore the OBS ones). (1.21 MB, video/x-matroska)
2024-12-11 00:32 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2024-12-09 23:00:51 UTC
When hovering over the battery widget's charging icon, the green plug gains a white highlight over it.
This is something that other widget icons lack, including the battery while not charging.

So either that highlight is actually a bug, or all other widget icons are inconsistent.
Comment 1 Nate Graham 2024-12-10 22:55:29 UTC
Works as expected for me. Can you attach a screen recording that shows the issue happening?
Comment 2 Fernando M. Muniz 2024-12-11 00:32:43 UTC
Created attachment 176510 [details]
Notice how the battery gets highlighted, but the other system icons do not (ignore the OBS ones).
Comment 3 Nate Graham 2024-12-11 17:14:17 UTC
The issue here is with Kirigami.Icon's highlight effect. It works as expected with a light theme and dark icons, but does not work as well with the reverse. This is because it tries to lighten colors, but the light icons are already pretty much as light as they can be — except for parts of them that are other colors, like the green plug in the battery icon, and the red slash in the mute icon. So only those parts get lightened.