Summary: | Use symbolic icons for systray app if present | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Christian (Fuchs) <kde> |
Component: | XembedSNIProxy | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | 4wy78uwh, kde, materka, nate, notmart |
Priority: | NOR | ||
Version: | 6.0.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/fe5794a038e4bcf719e4fa243f1f337521b04727 | Version Fixed In: | |
Sentry Crash Report: |
Description
Christian (Fuchs)
2024-05-14 16:27:23 UTC
This makes sense, we should just do it. It's harmless since if no such icon exists, it will fall back to simpler names until it finds something that does exist. We don't have control of the drawing with xembedsniproxy. We don't have control over the pixmap drawing, but we can append "-symbolic" to the icon name that it gets, for apps that send an icon name instead of or in addition to a pixmap. I interpreted this bug report to be requesting that. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4865 made a mr for it. if an application really, really wants to use a custom drawn icon with the system not changing it, it can always send only a pixmap and not an icon name, which seems the case for instance of Telegram unless one specifically checks for "use monochrome icons" in the telegram settings A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4878 Git commit fe5794a038e4bcf719e4fa243f1f337521b04727 by Marco Martin. Committed on 29/10/2024 at 09:42. Pushed by mart into branch 'master'. applets/systemtray: Prefer -symbolic icons append -symbolic to icon names in the custom icon loading mechanism in the systemtray This won't adress XEmbed-sniproxy icons and won't address also icons that only send a pixmap instead of an icon name, but those are cases we can't do anything about alternative to https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4865 M +4 -1 applets/systemtray/statusnotifieritemsource.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/fe5794a038e4bcf719e4fa243f1f337521b04727 |