Bug 502422 - Notifications suppressed by DND mode that are configured to not appear in the history can't be found after you edit DND mode
Summary: Notifications suppressed by DND mode that are configured to not appear in the...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-04-04 19:42 UTC by Nate Graham
Modified: 2025-04-04 20:09 UTC (History)
1 user (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 Nate Graham 2025-04-04 19:42:01 UTC
STEPS TO REPRODUCE
1. Enter DND mode
2. run `notify-send-send foo bar` in a terminal window
3. Exit DND mode -> A notification appears telling me I missed a notification while DND mode was active
4. Look for the missed notifications


OBSERVED RESULT
The missed notification cannot be found in the history or anywhere else.


EXPECTED RESULT
The missed notifications appear in the history.


ADDITIONAL INFORMATION
This happens because `notify-send` notifications count as "Other Applications", and those are configured to not appear in the history. And this is the problem: the "Show in history" setting should be honored normally, but *not* when a notification comes in during DND mode. The problem will be seen with real apps too if you uncheck "Show in history" for them.
Comment 1 Kai Uwe Broulik 2025-04-04 20:01:06 UTC
Not show in history means not show in history.
Comment 2 Kai Uwe Broulik 2025-04-04 20:01:58 UTC
$ notify-send -h string:desktop-entry:firefox foo bar
Comment 3 Nate Graham 2025-04-04 20:09:32 UTC
I don't want to see these notifications in the history when they're normal popups, because I already saw them when they appeared.

But while DND mode is active, that reason doesn't apply anymore: because DND mode is active, I don't see the popups at all, and then not seeing them in the history either means I can never seen them at all.