| Summary: | 3rd party apps stopped opening at click | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Dmitri Koulikoff <kde> |
| Component: | System Tray widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | materka, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Slackware | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dmitri Koulikoff
2021-03-08 17:00:04 UTC
Works for me with Discord, but not Dropbox. This would seem to be an app-specific issue, But I'll let Konrad have the last word on the subject. Back in the KDE4 times most of the System Tray icons used XEmbed protocol. It was deprecated long time ago, now most applications are using SNI (Status Notifier Item) protocol: https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/ As part of this protocol applications can implement handlers for ContextMenu or Activate signals (among few others). Unfortunately, during the migration to SNI, most developers choose to implement only the ContextMenu signal (right mouse button click) and not the Activate (left click) signal. In this case, when user clicks with left mouse button, the only thing we can do is to fallback to ContextMenu, so that user at least has a chance to use the context menu to show the application window. To be fair it is not entirely developers fault - libappindicator used by all GTK apps has exactly the same implementation for Activate and Context Menu: https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk/view/head:/src/app-indicator.c#L1713 There is a bug report with this issue that but little chance to get it fixed: https://bugs.launchpad.net/ubuntu/+source/libappindicator/+bug/1910521 A lot (most?) of affected apps are built using Electron, which already has a bug report: https://github.com/electron/electron/issues/14941 It probably won't be fixed anytime soon, on Linux Electron uses GTK and libappindicator... @Nate my Discord shows context menu, what client are you using? |