Bug 383709

Summary: Systray icons under Gnome only expose XEmbed, not KSNI
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: markuss <kamikazow>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: bugseforuns, kde, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.36.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description markuss 2017-08-19 17:04:18 UTC
Created attachment 107368 [details]
Screenshot

KDE applications only use XEmbed-based systray icons under Gnome, whether https://extensions.gnome.org/extension/615/appindicator-support/ is installed or not.
Currently that's only a minor inconvenience (visual inconsistency, two context menus can be open at the same time – see attached screenshot) but it gets worse:
The upcoming Gnome version (3.26) will completely remove support for XEmbed systray icons, therefore the above mentioned Gnome extension will be the last remaining way to properly use non-Gnome applications with systray icons under Gnome.

Only KDE applications are affected. "Pure" Qt applications are not. My screenshot shows QuiteRSS (Qt) and KMail systray manus.
Comment 1 Nate Graham 2021-08-09 16:58:28 UTC
There is nothing KDE can do about this, I'm afraid. The fault lies with GNOME in deleting support for this UI element. We still support it in Plasma--and so does everyone else. I would tell you to complain to them about it, but it's a lost cause; their minds are not open to being changed about the wisdom of this decision. I would recommend using Plasma instead of GNOME. :)
Comment 2 markuss 2021-08-09 19:12:57 UTC
(In reply to Nate Graham from comment #1)
> There is nothing KDE can do about this, I'm afraid.

Sure it does. As I already wrote: Regular Qt applications are not affected.

> The fault lies with
> GNOME in deleting support for this UI element.

This bug report is about allow working with the appindicator-support Gnome Shell extension.

As recent as two days ago there was a comment on the extension page saying that Konversation is not working with it.

Exposing KSNI towards Gnome Shell with appindicator-support is important for properly working KDE apps under Gnome.