I've noticed that there are still a number of issues that are getting opened regarding missing tray features despite the existence of this post, so I thought I would elaborate a bit more on these points.
Most of the issues fall under these two categories:
The following features are either implementation details or extensions for usability:
Currently not being worked on (by me, at least) so contributions would be very welcome :)
KDE guys have a XEmbed proxy daemon https://github.com/KDE/plasma-workspace/tree/master/xembed-sni-proxy
Consider adding: SVG icons support.
Currently, for example, Quassel shows sad face instead of icon because its icon is SVG.
Hmm, I did allow it to load SVGs if it was built with gdk-pixbuf2 support, but I never actually tested it, so it might have gone wrong somewhere.
I'm not 100% sure that the reason is SVG but that's the only difference that I've noticed between Quassel and working icons. And there is no any hint in logs.
However, it is currently blocked by layer shell popups
This can now be implemented, as layer-shell popups are supported by Sway.
Should an issue be created for the implementing the DBus menu specification?
Consider adding: SVG icons support.
Currently, for example, Quassel shows sad face instead of icon because its icon is SVG.
It works since 1.4.
PR implementing D-Bus menus: https://github.com/swaywm/sway/pull/5161
I'm not sure what is spec'd, but is it possible to have tray icon tooltips, that helps me identify the tray item, some sort of name or title?
Hm, I guess you can do it now that popups have been implemented, and there is a tooltip property in the SNI spec, but it's not something that I'm planning on doing, so someone else will have to implement it
how do i enable this? running archlinux on sway 1.4. but the only tray icon i have ever seen on my system through swaybar was albert, which didnt work due to the whole isolation that wayland does
Recently I began to use Sway instead of i3 and I only have one bug, my system tray has no menu bar with actions, for example, Steam or Telegram also i3 by default has a WiFi settings icon that I have never seen in SwayWM. Good luck with this project because Wayland is the future. Anyway, Sway has more features and I absolutely like it!
Both xembed-sni-proxy and snixembed failed to work on sway-1.5 on gentoo linux.
Can we please stop reporting random bugs here please? If xembed proxy doesn't work, and it's _identifiably a problem with sway_, then please open a new issue. The tray was written as a standards-compliant implementation, and not to specifically work with an xembed proxy, so the places where they work are more of a happy accident. There are also no current plans to roll our own proxy either.
Please encourage xembed apps to use SNIs, thanks.
For anyone searching for a short term solution for menues: It is not that hard to show dbus menues in dmenu or something like that. Proof of concept: https://gist.github.com/xi/b88af997b485191fa0beb5d6612ead29
Most helpful comment
Consider adding: SVG icons support.
Currently, for example, Quassel shows sad face instead of icon because its icon is SVG.