Replace other Notifications services when Plasma's notifications are enabled
Review Request #124102 - Created June 15, 2015 and submitted
We're getting lots of reports about notifications not being "closeable on click" or "not having any actions" or "not having Plasma theme". These all mostly come from users which have notify-osd package from Unity (ie. Ubuntu users installing plasma-desktop), but not only.
So this patch makes Plasma always be the Notification service provider if that option is enabled in the applet settings and/or if the applet is present somewhere (otherwise the dataengine is not loaded). On startup, it will get the PID of the current Notifications service, send SIGTERM to it and register its own service.
Having notify-osd running, plasmashell starts up, notify-osd is terminated, Plasma notifications appear.