Bug 422811

Summary: consistency: use middle click on tray applet to toggle do-not-disturb mode
Product: [Plasma] plasmashell Reporter: Daniel <daniel-other+kdebug>
Component: NotificationsAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate, plasma-bugs
Priority: NOR    
Version: 5.19.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.20
Sentry Crash Report:

Description Daniel 2020-06-11 12:40:47 UTC
SUMMARY
currently, is is possible to toggle the mute status of plasma-pa on the systray icon with a middle click. It would be reasonable to have a similar function for the notification-icon in the systray: on middle click, toggle the current status of do-not-disturb mode.
Comment 2 Kai Uwe Broulik 2020-06-11 13:58:58 UTC
Git commit eb736685a2b32e10c0b95ef70c00128c9e1c693e by Kai Uwe Broulik.
Committed on 11/06/2020 at 13:46.
Pushed by broulik into branch 'master'.

[Notifications] Toggle do not disturb on icon middle click

It's pretty common for Plasma to do a start/stop action on middle click,
like middle click to play/pause or middle click to mute/unmute.

M  +11   -1    applets/notifications/package/contents/ui/CompactRepresentation.qml
M  +18   -16   applets/notifications/package/contents/ui/global/Globals.qml

https://invent.kde.org/plasma/plasma-workspace/commit/eb736685a2b32e10c0b95ef70c00128c9e1c693e