Bug 423970 - Urgency options for notifications (do not disturb mode)
Summary: Urgency options for notifications (do not disturb mode)
Status: REPORTED
Alias: None
Product: kdialog
Classification: Applications
Component: general (other bugs)
Version First Reported In: 20.04
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Brad Hards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-07 15:22 UTC by Matias L
Modified: 2020-07-07 19:56 UTC (History)
1 user (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 Matias L 2020-07-07 15:22:43 UTC
SUMMARY

With the new "Do not disturb" mode, passive popups made by knotify have no way to bypass it. The notify-send tool, of the libnotify-bin package, provides a "Urgency" parameter that, set to critical, makes the passive notification appear even when in do not disturb mode. 

I though it would be useful to have this functionality also for kdialog.

STEPS TO REPRODUCE
1. Set KDE's Notifications to "Do not disturb" 
2. Send a passive popup

OBSERVED RESULT

No notification appears.

EXPECTED RESULT

Shown notification provided it is labeled as critical urgency.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KUbuntu 20.04 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68
Qt Version: 5.12.8
Comment 1 Nicolas Fella 2020-07-07 18:41:48 UTC
Just curious: Any particular reason you are using kdialog for this at all instead of just notify-send?
Comment 2 Matias L 2020-07-07 19:56:55 UTC
(In reply to Nicolas Fella from comment #1)
> Just curious: Any particular reason you are using kdialog for this at all
> instead of just notify-send?

Not really, in fact because of this I am actually using notify-send. KDialog seems more complete, and already comes preinstalled, whilst I had to install notify-send.