RFC: Make Kickoff read-only when SystemImmutable
ClosedPublic

Authored by broulik on May 13 2016, 6:02 PM.

Details

Summary

When widgets are SystemImmutable, as opposed to UserImmutable, this is because the system was consciously locked-down by a system administrator, in this case Kickoff should become essentially read-only, ie.:

  • Favorites can no longer be added, removed, or re-arranged
  • Applications can no longer be added as launchers to Task Manager (dunno about that, also needs similar adjustments in Task Manager)
  • Applications can no longer be edited or hidden (the latter looks like a Kicker-only feature) or uninstalled
  • The KMenuEdit shortcut is removed from the right-click menu

You can, however, still:

  • Drag applications elsewhere to make eg. a desktop shortcut
  • Access recent documents in the application context menu (does KActivitiesStats honor KAuthorized restrictions on recent docs and do we have that?) as well as jump list actions
Test Plan

Works nicely, requires https://git.reviewboard.kde.org/r/127909/ for plasma-framework

Inspired by the current discussion on the enterprise ml

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 3813.May 13 2016, 6:02 PM
broulik retitled this revision from to RFC: Make Kickoff read-only when SystemImmutable.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, Plasma: Design.
broulik set the repository for this revision to R119 Plasma Desktop.
Restricted Application added a project: Plasma. · View Herald TranscriptMay 13 2016, 6:02 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.May 14 2016, 2:49 PM
hein added a reviewer: hein.
hein added a subscriber: hein.

I'd prefer if the code comments were properly capitalized and had punctuation marks, but that minor nitpick aside, sure why not ...

This revision is now accepted and ready to land.May 14 2016, 2:49 PM
This revision was automatically updated to reflect the committed changes.