Summary: Sometimes we get notifications for events that are also displayed by Plasma, giving us some rather annoying popups. This patch provides a service on the notification dataengine so that other plasmoids can block the notification applet from processing those notifications. Intended use case is for the network manager plasomid to not show a notification whilst the dialog is open, as notifications come from kded. However it's kept generic enough that other plasmoids can filter on other hints, such as category or desktop file. Test Plan: Wrote relevant patch for plasma-nm Didn't get notification toggling a network whilst the popup was open Did after I closed the popup Reviewers: #plasma, mart Reviewed By: mart Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D3589wilder-5.14
parent
7ad88dc2ad
commit
7f7d229843
4 changed files with 52 additions and 0 deletions
Loading…
Reference in new issue