D21366: [Notifications] Unwatch job when it gets stopped

Kai Uwe Broulik noreply at phabricator.kde.org
Thu May 23 14:39:14 BST 2019


broulik created this revision.
broulik added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  We watch the service owner so that when it dies without finishing the job we communicate an error to the user.
  When the job is stopped, the job is "done" and we don't need to watch the service anymore.

TEST PLAN
  - Started a copy, finished it, quit Dolphin: no longer got a "job unregistered" message
  - Started a copy, killed Dolphin: got a "application closed unexpectedly" job error
  - Started a copy, finished it, started a second copy, killed Dolphin, still got the error message

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D21366

AFFECTED FILES
  libnotificationmanager/jobsmodel_p.cpp
  libnotificationmanager/jobsmodel_p.h

To: broulik, #plasma
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190523/6a38eced/attachment-0001.html>


More information about the Plasma-devel mailing list