[screenlocker] listen to notifications from the notification server

Authored by bshah on Mar 30 2020, 10:22 AM.



This will allow notification manager to forward the notifications that
are meant to be shown on the lockscreen, currently it requires patches
in ksld wayland protocol and greeter to be useful, which is not part of
this patch.

Test Plan

tested with D28427

Diff Detail

R133 KScreenLocker
No Linters Available
No Unit Test Coverage
Build Status
Buildable 24472
Build 24490: arc lint + arc unit
bshah created this revision.Mar 30 2020, 10:22 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 30 2020, 10:22 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bshah requested review of this revision.Mar 30 2020, 10:22 AM
nicolasfella added inline comments.

conding style: & after space

bshah updated this revision to Diff 78883.Mar 30 2020, 12:09 PM
  • add argument for the notification id in dbus service
  • add wayland protocol stanza for passing notification data to greeter
bshah marked an inline comment as done.Mar 30 2020, 12:10 PM
bshah updated this revision to Diff 78904.Mar 30 2020, 2:39 PM
  • properly wire up the protocol for ksldapp to greeter
davidedmundson requested changes to this revision.Mar 30 2020, 3:20 PM
davidedmundson added a subscriber: davidedmundson.

We've added a DBus interface to the screensaver host; ksmserver or kwin respectively.
That receives the notification and then using a different API over wayland, sends it to the greeter.
Is that right?

Is so, why this extra complicated route?

This revision now requires changes to proceed.Mar 30 2020, 3:20 PM
bshah abandoned this revision.Mar 31 2020, 9:19 AM

Closed in favor of the more simpler version.