I couldn't get any of the notification / systray implementations to work with current Ubuntu versions. What does work with Ubuntu 24.04 are Ayatana indicators (that look like regular tray icons to me). I have added them to the Notfication plugin.
Hi Jan, I can't find any patch attached to the bug or URL pointing to one, so I'm a bit confused, please choose one: a) are you sharing a patch but forgot to add it? b) are still you working on a patch which will be shared later? c) other... please explain! :-) Thanks in advance and best regards!
Created attachment 2513 [details] Patch for an indicator icon that works with current Ubuntu 24.04 Add missing patch file
Thanks for your potential contribution. There are, however, several problems with your patch. Among them: * The icon shows even when disabled * The sensivity of the option is wrong. For example, if you disable the icon the option becomes insensitive and cannot be re-enabled. (In fact, the option doesn't need any sensitivity set, it should always be possible to turn it on or off.) * There are unused variables When the bugs are fixed we will be happy to include it.
(In reply to Jan Willamowius from comment #0) > I couldn't get any of the notification / systray implementations to > work with current Ubuntu versions. What does work with Ubuntu 24.04 are > Ayatana indicators (that look like regular tray icons to me) BTW, I don't think you mean Ubuntu (the linux distribution), instead you mean Gnome (the default desktop enviroment). You are saying that only Ayatana indicators work with the Gnome desktop.
(In reply to Paul from comment #4) Honestly, I'm not sure which versions or modifications of GNOME the indicators work on or not. Older versions of Ubuntu shipped with GNOME, too and there the existing Claws notifications worked fine. So I tried to be as specific as I can, saying this works on the default Ubuntu 24.04 installation. Maybe someone more knowledgeable about the versions and compatibilities than me can add info where the Ayatana indicators work and where they don't. I'll check the issues, you mentioned and will update the patch.
Created attachment 2515 [details] Updated patch Updated patch: Fixed the show / hide logic, removed sensitivity settings, removed unused variables
Hi, The latest patch is missing the 2 main files: notification_ayatana_indicator.c and notification_ayatana_indicator.h
Created attachment 2516 [details] Updated patch with missing files
In KDE, when the icon was showing even if disabled the icon would display correctly. Now that it is fixed and only displays when enabled, the space is present but the icon does not show at all. The context menu displays and works, but there is no icon visible.
I installed Kubuntu 24.10, but I can't reproduce that issue. When I disable the indicator, it disappears and the icon left to it moves over. No empty "ghost" space, no lingering menu. But on KDE, the existing systray icon should work, right ?
now in git. many thanks for your contribution!