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.
Not show in history means not show in history.
$ notify-send -h string:desktop-entry:firefox foo bar
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.