broulik created this revision. broulik added reviewers: Frameworks, dfaure, davidedmundson. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. broulik requested review of this revision.
REVISION 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 REPOSITORY R288 KJobWidgets REVISION DETAIL https://phabricator.kde.org/D22015 AFFECTED FILES src/kuiserverjobtracker.cpp To: broulik, #frameworks, dfaure, davidedmundson Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns