https://bugs.kde.org/show_bug.cgi?id=464264

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qydwhotm...@gmail.com

--- Comment #3 from Fushan Wen <qydwhotm...@gmail.com> ---
ayatana says "Based on KSNI it also works in KDE and will fallback to generic
Systray support if none of those are available.",

ayatana will emit NewTitle signal when a new title is set:
https://github.com/AyatanaIndicators/libayatana-appindicator/blob/59e472a3caf62f7760f2568729fec8dbc25f8a18/src/app-indicator.c#L978
, and Plasma system tray will also update the title after the signal is
received. Not sure it's whose fault.

NewIcon is also emitted:
https://github.com/AyatanaIndicators/libayatana-appindicator/blob/59e472a3caf62f7760f2568729fec8dbc25f8a18/src/app-indicator.c#L2032
, and there is no IconPixmap in ayatana. Plasma system tray will try to read
the string in "IconName" first, if it's null, the data in "IconPixmap" will be
read (
https://invent.kde.org/plasma/plasma-workspace/-/blob/e365c363a7a8e9650798350044d6d348092b3606/applets/systemtray/statusnotifieritemsource.cpp#L311
). It seems ayatana only supports absolute path, and icon name is not
supported. I see no problem so far as the test program also uses absolute
paths.

I tend to believe the bug is in ayatana or elsewhere since I use fcitx5, it
also uses KSNI and the icon in Plasma system tray can be updated normally.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to