https://bugs.winehq.org/show_bug.cgi?id=38409
--- Comment #61 from Konrad Materka materka@gmail.com --- System tray icons are working correctly in KDE, thanks to XEmbedSNIProxy. I fixed most of the issues in XEmbedSNIProxy, it is pretty stable now. We can say that the initial issue is solved.
Unfortunately XEmbedSNIProxy is not a proper solution, it is just a workaround. For example tooltips are not working and never will. There are other limitations to.
Support for legacy XEmbed was dropped long time ago, not only in KDE, but also in Gnome. StatusNotifierItem DBus protocol is the only supported one. As a bonus it removes dependency on X11 and can work on Wayland.
@Alexey Min Can you try to upstream your SNI DBus patch? I guess Wine Staging would be a good place for it, at least initially. I saw that there are some issues and limitation (left/right click not working, missing balloon messages) but this can be worked out. What do you think?