Introduce secondary control channel of the KScreen daemon
ClosedPublic

Authored by romangg on Nov 18 2018, 10:57 PM.

Details

Summary

Kcm and daemon can only communicate a limited data set through the backend.
This feature patch adds an additional level of control by providing a one-way
control channel through output and configuration control files.

The first property to be controlled through this channel is the output
retention. Other information shared in the future might be if a certain
resolution or refresh rate was manually set by the user or is the result
of an algorithm, so that the daemon on next startup can decide to recompute
the optimal value.

Test Plan

Autotests updated, such that they are controled for now to only use
indvidual retention.

Diff Detail

Repository
R104 KScreen
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Nov 18 2018, 10:57 PM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 18 2018, 10:57 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg requested review of this revision.Nov 18 2018, 10:57 PM
mart accepted this revision.Nov 23 2018, 12:32 PM
This revision is now accepted and ready to land.Nov 23 2018, 12:32 PM
romangg updated this revision to Diff 57662.May 6 2019, 4:52 PM

Rebase on series changes.

romangg updated this revision to Diff 57715.May 7 2019, 1:52 PM
  • Add Undefined output retention value
  • Control::convertVariantToOutputRetention function
romangg updated this revision to Diff 57830.May 9 2019, 11:44 PM

Rebase on series changes.

romangg updated this revision to Diff 59663.Jun 12 2019, 4:35 PM

Rebase on master.

romangg updated this revision to Diff 59714.Jun 13 2019, 11:27 AM
  • Root dictionary in control files
romangg updated this revision to Diff 59715.Jun 13 2019, 11:29 AM
  • Fix newline at end of files
This revision was automatically updated to reflect the committed changes.