D25935: [Notifications] Add hint for showing a notification even in do not disturb mode

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Dec 12 21:14:01 GMT 2019


broulik created this revision.
broulik added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  This can be useful for notifications that confirm direct user interaction, such as successful Bluetooth pairing, Screenshot creation, or plasmoid removal.
  It only overrules filtering based on urgency, disabling notifications for that application altogether will still hide them.

TEST PLAN
  Enabled dnd mode, `notify-send foo bar -h string:x-kde-show-when-inhibited:true` and it showed up regardless

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D25935

AFFECTED FILES
  libnotificationmanager/notification.cpp
  libnotificationmanager/notification.h
  libnotificationmanager/notification_p.h
  libnotificationmanager/notificationfilterproxymodel.cpp
  libnotificationmanager/notifications.h
  libnotificationmanager/notificationsmodel.cpp

To: broulik, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191212/d260c644/attachment.html>


More information about the Plasma-devel mailing list