[KUiServerJobTracker] Handle ownership change
ClosedPublic

Authored by broulik on Jun 23 2019, 8:42 AM.

Details

Summary

Just look whether we have a new service instead of assuming the old one is empty.
This makes atomic service owner change when the owner is replaced work.

Test Plan

Started a copy, killed plasmashell, restarted it, got a plasma job tracker (i.e. still works)
Had a separate job progress viewer running, Started a copy, started plasmashell started, it claimed the service and took it away from the other, now I got the job re-show in plasmashell

Diff Detail

Repository
R288 KJobWidgets
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Jun 23 2019, 8:42 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 23 2019, 8:42 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
broulik requested review of this revision.Jun 23 2019, 8:42 AM
davidedmundson accepted this revision.Jun 23 2019, 8:43 AM
This revision is now accepted and ready to land.Jun 23 2019, 8:43 AM
This revision was automatically updated to reflect the committed changes.