Bug 476168 - Add the ability to close system tray app by middle click
Summary: Add the ability to close system tray app by middle click
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.27.8
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-27 17:56 UTC by geqch0akc
Modified: 2023-10-30 21:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description geqch0akc 2023-10-27 17:56:35 UTC
Generally I find it anoing to close a system tray app when my computer is lagging.
Comment 1 Nate Graham 2023-10-30 20:00:29 UTC
It's an interesting idea. But I think it would be quite disruptive, and I can foresee people accidentally killing apps all the time. We could add a confirmation dialog, but then it wouldn't solve the problem of wanting to kill apps when the system is lagging, since the dialog would just lag too.

I think for this use case, you should close the app from its Task Manager icon. If it doesn't have one because it has a system tray icon instead, well, now you've learned one of the many reasons why system tray icons for apps are silly and problematic. In this case you can close the app from the System Monitor, or invoke the systemwide "kill a window", invoked by Meta+Ctrl+Escape if System Monitor won't load.
Comment 2 Konrad Materka 2023-10-30 21:51:33 UTC
Middle click is already reserved for Secondary Action:
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/

Application can implement it for a close action. Some Plasmoids use it, for example Volume uses middle click for mute, Notification to turn off notification etc.
Comment 3 geqch0akc 2023-10-30 21:53:42 UTC
wont work get it ok