Summary: | KTeaTime symbolic tray icon fails to change colors e.g. when using a dark theme | ||
---|---|---|---|
Product: | [Applications] kteatime | Reporter: | Jure Repinc <jlp> |
Component: | general | Assignee: | Stefan Böhmann <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kainz.a, m, nate |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 24.02.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=481918 | ||
Latest Commit: | https://invent.kde.org/utilities/kteatime/-/commit/641ca7e6150cbc8eef630367da2ac72f26d0b610 | Version Fixed In: | 25.08.0 |
Sentry Crash Report: | |||
Attachments: | KTeaTime tray icon screenshots |
Description
Jure Repinc
2024-02-28 08:38:32 UTC
Created attachment 166149 [details]
KTeaTime tray icon screenshots
Can reproduce. The icon being used here is `kteatime-symbolic` which does have the correct color-changing CSS hooked up properly. It seems to change color properly when I assign it as the icon of a folder and then change the color scheme. And all the other tray icons for plasmoids and apps that I have change color properly. So it could be that something's wrong in KTeaTime itself. Maybe it's rasterizing the icon to a pixmap or something. Bug 481918 confirms my theory; that is what's happening. A possibly relevant merge request was started @ https://invent.kde.org/utilities/kteatime/-/merge_requests/24 Git commit 641ca7e6150cbc8eef630367da2ac72f26d0b610 by Fabian Vogt. Committed on 28/04/2025 at 11:32. Pushed by fvogt into branch 'master'. Port to KStatusNotifierItem Using SNI instead of QSystemTrayIcon allows to pass icon names and pixmaps for the main icon and overlay in combination. Make use of that functionality to support themes better. Related: bug 481918 M +1 -0 .kde-ci.yml M +1 -0 CMakeLists.txt M +1 -0 src/CMakeLists.txt M +20 -21 src/toplevel.cpp M +3 -3 src/toplevel.h https://invent.kde.org/utilities/kteatime/-/commit/641ca7e6150cbc8eef630367da2ac72f26d0b610 |