Bug 408339 - New notifications system: Plasma shows notifications triggered while "Do not disturb" mode was enabled immediately after you disable such feature
Summary: New notifications system: Plasma shows notifications triggered while "Do not ...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-05 12:18 UTC by Patrick Silva
Modified: 2019-06-05 14:29 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-06-05 12:18:01 UTC
STEPS TO REPRODUCE
1. open system settings > Notifications
2. click "Configure..." button on botton
3. select "Spectacle" in the applications list
4. uncheck "Show in do not disturb mode" and click "Apply" button
5. enable DnD mode
6. press shift+printscreen twice
7. disable DnD mode

OBSERVED RESULT
plasma immediately shows two notifications from Spectacle

EXPECTED RESULT
plasma shows no notification when DnD mode is disabled

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.0
Comment 1 Kai Uwe Broulik 2019-06-05 12:18:42 UTC
That's a design limitation. The notifications only time out when the popup is shown, or after 120 seconds.
Comment 2 Nate Graham 2019-06-05 14:29:40 UTC
> EXPECTED RESULT
> plasma shows no notification when DnD mode is disabled
According to your Steps To Reproduce, it didn't. It saved the notifications while you were in DnD mode and showed them to you after you disabled DnD mode.

Also typically you're not going to be turning DnD off 5 seconds after turning it on. If you had turned it off after an hour or two (as would be typical), the popups would have already internally timed out and not been shown to you.