Wolfgang Bauer <wbauer@tmo.at> schreef op 29 februari 2016 23:29:02 CET:
Am Montag, 29. Februar 2016, 17:28:54 schrieb Bjoern Voigt:
Could someone confirm, that legacy tray icons do not work as expected in Tumbleweed with KDE Plasma desktop? (Support for legacy tray icons is restored in KDE Workspace 5.4 or 5.5.)
They should work fine in general.
But just to be clear here: Plasma5's system tray still doesn't support old- style icons, and never will. A hack named xembedsniproxy has been created that acts as old-style system tray and "converts" old-style icons to the new SNI that are then added to the system tray. It acts as a "proxy" between the application that creates an old- style systray icon and the system tray itself that only supports SNI.
At first I saw this issue using Pidgin 3.0.0 (GTK+3, Pidgin development version). The tray icon is displayed very small and the context menu does not work.
Might be fixed by this upstream commit, which I'm about to add to our package: https://quickgit.kde.org/?p=plasma-workspace.git&a=commit&h=1a13806d74973137960e64aa347965525a7c626a
Old-style icons are drawn by the application, they are actually small application windows that used to get embedded into the system tray (via XEmbed which won't work on Wayland). The system tray has absolutely no control over the icon (that's one of the problems fixed in the "new" SNI specification from 2009). xembedsniproxy tries to resize that window to a reasonable size, but the currently used method apparently doesn't work with GTK+ applications.
The icon is displayed correctly. But the context menu does not work.
That's a different problem, specific to Java applications (but maybe also others). They ignore the fake mouse button events that xembedsniproxy sends them. https://bugs.kde.org/show_bug.cgi?id=358328
With "normal" old-style system tray icons, the application gets the mouse click event directly, in Plasma5 xembedsniproxy creates a new-style icon on the fly, so it gets the event and has to fake a mouse click on the XEmbed window.
Kind Regards, Wolfgang
No problems with TW 2016.02.28 ... -- Verstuurd vanaf mijn Android apparaat met Email. Excuseer mijn beknoptheid. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org