SUMMARY Dark icon in system tray on Breeze Dark theme in KDE Plasma STEPS TO REPRODUCE 1. Open Telegram Desktop OBSERVED RESULT A dark icon appears in the system tray EXPECTED RESULT The icon should be light in the system tray
*** Bug 482638 has been marked as a duplicate of this bug. ***
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4004
Other affected programs are: Nextcloud Desktop Firewall-Applet
*** Bug 482941 has been marked as a duplicate of this bug. ***
*** Bug 483047 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4039
*** Bug 483210 has been marked as a duplicate of this bug. ***
*** Bug 483213 has been marked as a duplicate of this bug. ***
Git commit 257ccabc526ab7f4d5ca12758c1e29af35b048ca by Nicolas Fella. Committed on 11/03/2024 at 17:01. Pushed by nicolasfella into branch 'master'. [applets/systemtray] Load icons with Plasma palette When using Breeze Twilight, i.e. dark Plasma and lights apps, we need to color the icons with the Plasma colors Related: bug 479712 M +24 -6 applets/systemtray/statusnotifieritemsource.cpp M +1 -0 applets/systemtray/statusnotifieritemsource.h https://invent.kde.org/plasma/plasma-workspace/-/commit/257ccabc526ab7f4d5ca12758c1e29af35b048ca
Git commit d73c6c4bb938bbd252c5bd69cc93862cba554e32 by Nicolas Fella. Committed on 11/03/2024 at 17:06. Pushed by nicolasfella into branch 'Plasma/6.0'. [applets/systemtray] Load icons with Plasma palette When using Breeze Twilight, i.e. dark Plasma and lights apps, we need to color the icons with the Plasma colors To achieve this always set the current palette on the icon loader, which means always creating a custom loader For the icons in the context menu we want the application palette, so create a separate loader for that Related: bug 479712 M +56 -24 applets/systemtray/statusnotifieritemsource.cpp M +2 -0 applets/systemtray/statusnotifieritemsource.h https://invent.kde.org/plasma/plasma-workspace/-/commit/d73c6c4bb938bbd252c5bd69cc93862cba554e32
*** Bug 483323 has been marked as a duplicate of this bug. ***
This isn't fully fixed - icons that require attention are still dark on dark (for example, Konversation with unread messages).
Any tray icons that render as pixmaps rather than passing along an icon name can run into this issue. That would be an issue in the code of the app itself, though. Without investigating Konversation, I don't know if it does this, but I do know that KTeatime does it. I would recommend submitting additional bug reports for still-happening issues, as they may have different root causes.
Looking good here. Many thanks for such a speedy fix.
(In reply to Sebastian Krzyszkowiak from comment #12) > This isn't fully fixed - icons that require attention are still dark on dark > (for example, Konversation with unread messages). Attention icons are fine as far as I can tell. It's the Konversation icon specifically that is not colored correctly
The problem is that konv_message and other icons use the ColorScheme-ButtonFocus color role, which isn't wired up in KIconColors
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kiconthemes/-/merge_requests/127
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/334
Git commit f34c059a328f91b5d89c3a94128f93271142a22d by Nicolas Fella. Committed on 16/03/2024 at 21:06. Pushed by nicolasfella into branch 'master'. Use Text color for konv_message icon Using ButtonFocus is broken because KIconColors doesn't fill that. The blue also looks out of place compared to other system tray icons. Instead use Text like most other tray icons M +1 -1 icons/status/22/konv_message.svg https://invent.kde.org/frameworks/breeze-icons/-/commit/f34c059a328f91b5d89c3a94128f93271142a22d
After todays Plasma 6 update 6.0.2-3 -> 6.0.3-1 this bug is relevant again, after it had been fixed in 6.0.2-3. Telegram-desktop and solaar systray icons are dark on dark. Global design: Plasma-Twilight Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.8.2-zen2-1-zen (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics Graphics Processor: AMD Radeon Graphics
I can confirm I am seeing this since updating to 6.0.3-1 also. Operating System: Fedora Linux 39 KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.8.2-200.fc39.x86_64 (64-bit) Graphics Platform: Wayland
(In reply to kinoe from comment #20) > After todays Plasma 6 update 6.0.2-3 -> 6.0.3-1 this bug is relevant again, > after it had been fixed in 6.0.2-3. Telegram-desktop and solaar systray > icons are dark on dark. it does affect kmail unread new mail icon too
The icon changes are landing in Frameworks 6.1 in a few weeks; only the plasma changes are already released.
Git commit bbc01b79af54094833a25b13134cf2bc585974bf by Nicolas Fella. Committed on 03/04/2024 at 09:48. Pushed by nicolasfella into branch 'Plasma/6.0'. [applet/systemtray] Ensure that the custom icon loader is initialized Currently it's only initialized if the icon has a custom theme path M +1 -1 applets/systemtray/statusnotifieritemsource.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/bbc01b79af54094833a25b13134cf2bc585974bf
(In reply to Nate Graham from comment #23) > The icon changes are landing in Frameworks 6.1 in a few weeks; only the > plasma changes are already released. Todays update of Frameworks 6.1didn't fixed it. Kmail icon (and others) in systray are still dark on dark. It worsen even since Kmails standard icon was changed to monochrome with one of the last updates.
Looks like the latest commit in Plasma that's needed to fix this will be in 6.0.4, scheduled for release tomorrow.
Can confirm that upgrading Plasma 6.0.4 fixed the icons on my EndeavourOS system. Before that, symbolic icons of KDE Gear apps, specifically Yakuake and Akregator, would remain dark no matter what Plasma theme I choose, even those that follow the color scheme like the default Breeze theme.
*** Bug 484473 has been marked as a duplicate of this bug. ***
Please disregard my previous comment. The linked bug report actually referred to similar behavior in the Add Widgets sidebar, but follow-up comments have managed to change the subject to the same behavior in system tray icons.
Fixed in 6.0.4 only for theme icons. If the icon has an absolute path (Qt.resolvedUrl(***)) e.g. commynity plasmoid - this doesn't work...
Absolute path not working sounds like a different thing. Please submit a new bug report.
(In reply to Nate Graham from comment #31) > Absolute path not working sounds like a different thing. Please submit a new > bug report. Thanks! https://bugs.kde.org/show_bug.cgi?id=485801