Bug 420772

Summary: A button to postpone notifications (a "do not disturb" mode)
Product: [Plasma] plasma-browser-integration Reporter: myndstream
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED WORKSFORME    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description myndstream 2020-04-29 21:30:22 UTC
SUMMARY
Currently the plasma-browser-integration addon shows notifications from the browser such as when new emails arrive in one's inbox. It would be nice if one could postpone the display of these notification in a quick and easy way. There are many ways such a "do not disturb" mode could be useful - for example if:
- you're playing a video game
- you're watching a movie
- you don't want to be distracted
- you don't wish other people to read these notifications for privacy purposes

Afaik there's no way to prevent notifications to show within browsers such as Firefox. There's also no way to postpone their display so that they show after the postponement period has either timed out or is disabled by the user. Furthermore, notifications from the browser aren't the only notifications that show.

The best way to implement this would probably be to have a Plasma Widget button that en- or disables this do not disturb mode. There could also be a command that could be activated with a keyboard-shortcut. These things could also be implemented later once this functionality got built into plasma-browser-integration.

STEPS TO REPRODUCE
1. With plasma-browser-integration installed in Firefox and in the OS make yourself receive a notification - for example by allowing notifications from an email website and sending an email to that email address
2. Try to prevent the notification from showing up but to show up later

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.5
KDE Plasma Version: 5.14
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 Kai Uwe Broulik 2020-04-30 06:35:31 UTC
Plasma Browser Integration does nothing regarding notifications. Update your Plasma version, we have do not disturb since 5.16 and a global shortcut to toggles it since 5.18.
Comment 2 myndstream 2020-04-30 10:24:45 UTC
(In reply to Kai Uwe Broulik from comment #1)
> Plasma Browser Integration does nothing regarding notifications. Update your
> Plasma version, we have do not disturb since 5.16 and a global shortcut to
> toggles it since 5.18.

Ok, great, thanks! Is there a way to update Plasma to the latest stable version in Debian without having to use Debian unstable and without making a "FrankenDebian"?
Comment 3 Christoph Feck 2020-04-30 14:49:08 UTC
Please ask Debian maintainers.