Summary: | Telegram uses a colorful icon instead of the symbolic one in system tray | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | Ilya Bizyaev <bizyaev> |
Component: | Icons | Assignee: | visual-design |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | fedin-ilja2010, kainz.a, m, nate |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 6.2.5 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=460159 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot |
Description
Ilya Bizyaev
2025-01-07 21:12:38 UTC
Created attachment 177183 [details]
Screenshot
Can reproduce on git master. It's annoying how this keeps regressing. Will investigate. Originally I thought this might be caused by https://invent.kde.org/plasma/plasma-workspace/-/commit/a713f2351ad7f9ea3b43d2ec436ff1f20d6c036a, but it seems not; if I revert that commit, the issue doesn't go away. Indeed, if I change the code in StatusNotifierIcon.qml to *force* the use of an icon name and disregard any pixmap icons, the tray item's icon disappears entirely. This indicates that the issue is actually within Telegram, which apparently now only provides us with a pixmap icon, and not an icon name as well, as was done in the past. This may all be intentional on the part of Telegram. Worth talking to them about it. As a hint from https://bugs.kde.org/show_bug.cgi?id=460159#c16, I tested both the Flathub package and the Fedora package and found something interesting: in both, the tray icon is colorful by default. However, I also happened to notice that upon turning on the tray icon in the settings window, a new setting named "Use monochrome icon" appears. In both apps, checking the checkbox for this setting causes it to use the Breeze-themed icon. Can you reproduce that, Ilya? I saw he said firefox theming is broken for him in the matrix chat, what causes it is likely the cause for this too if he is using tdesktop from a portable package cause plasma-integration couldn't be loaded and Qt likely falls back to gtk3 for things like icon theme Indeed, the issue is gone since I rebooted with `GTK_USE_PORTAL Indeed, the issue is gone since I rebooted with `GTK_USE_PORTAL` unset, and I didn't realize :) Would've never guessed it was related The gtk portal likely broke on your system for some reason (got removed?), that's why anything using gtk3 is unable to retrieve the settings with GTK_USE_PORTAL=1 You're right, openSUSE has now shipped updated xdg-desktop-portal packages that allow me to restore GTK_USE_PORTAL=1 without issues. |