Bug 470554 - Left-clicking app icon in system tray does not consistently open apps, instead it activates the right-click context menu
Summary: Left-clicking app icon in system tray does not consistently open apps, instea...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.27.5
Platform: Ubuntu Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 470555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-02 12:34 UTC by Frank
Modified: 2023-06-02 13:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Bitwaden icon left-click result (99.31 KB, image/png)
2023-06-02 12:34 UTC, Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2023-06-02 12:34:51 UTC
Created attachment 159411 [details]
Bitwaden icon left-click result

SUMMARY 

The behavior of the system tray is inconsistent. Some apps open when their icon is left-clicked (expected behavior), instead others show the same context menu you would get when you right-click. The left-click should open the app while right-click should show the context menu. This behavior should be consistent for all apps that show in the system tray.

STEPS TO REPRODUCE
1.  Install and open some apps, e.g. MS Teams for Linux, Whatsapp Desktop, Bitwarden, Dropbox  and many others.
2. Close the app window so it is hidden, but still running as indicated by the system tray icon.
3. Left-click the app icon in the system tray.

OBSERVED RESULT

The left-click opens the same context menu as right-click.

EXPECTED RESULT

Instead the app should open and not show the context menu (only if right-clicked should it do so).

SOFTWARE/OS VERSIONS
Linux: Tuxedo OS 2 (based on Ubuntu 22.04 LTS)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2023-06-02 13:13:40 UTC
*** Bug 470555 has been marked as a duplicate of this bug. ***
Comment 2 Nicolas Fella 2023-06-02 13:15:25 UTC
What happens on right/left click is entirely up to the application. It gets informed that a click has happened and then does something. There is no way for Plasma to influence what the application is doing
Comment 3 Frank 2023-06-02 13:47:17 UTC
It is a bug actually, but not with Plasma directly. Seems to be an issue with Electron-based apps. More discussion of it here:
https://github.com/electron/electron/issues/14941
Comment 4 Frank 2023-06-02 13:51:45 UTC
More info, looks like an open bug: https://github.com/electron/electron/issues/37112