Review Request 122928: Don't show error notifications for jobs cancelled by user
David Rosca
nowrep at gmail.com
Fri Mar 13 08:39:39 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122928/
-----------------------------------------------------------
Review request for Plasma.
Repository: plasma-workspace
Description
-------
This is a followup on my yesterday's patch.
It changes value of "error" in applicationjobs dataengine to uint KJob::error and adds a new value "errorText" = QString KJob::errorText.
This change makes it possible for notifications applet to detect job error even when job have empty errorText.
This also changes the behavior that no notification is displayed for jobs cancelled by user (eg. cancelled rename, overwrite, ...).
I think it is also no longer needed to store cancelledJobs property in Jobs.qml, because ERR_USER_CANCELED = KJob::KilledJobError, but that would
need more testing. I can open a new review for that.
Diffs
-----
applets/notifications/package/contents/ui/Jobs.qml e8a4748
dataengines/applicationjobs/kuiserverengine.h c03b070
dataengines/applicationjobs/kuiserverengine.cpp e0b2ced
kuiserver/jobview.h b78ad14
kuiserver/jobview.cpp 4c76c5a
Diff: https://git.reviewboard.kde.org/r/122928/diff/
Testing
-------
Cancelling a file overwrite no longer shows any notification.
Thanks,
David Rosca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150313/62d3f254/attachment-0001.html>
More information about the Plasma-devel
mailing list