Review Request 122928: Don't show error notifications for jobs cancelled by user

Martin Klapetek martin.klapetek at gmail.com
Fri Mar 13 16:24:24 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122928/#review77428
-----------------------------------------------------------

Ship it!


Nice job, thanks a lot!

- Martin Klapetek


On March 13, 2015, 4:19 p.m., David Rosca wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122928/
> -----------------------------------------------------------
> 
> (Updated March 13, 2015, 4:19 p.m.)
> 
> 
> 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/JobDelegate.qml d77290d 
>   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/d8c2bab9/attachment.html>


More information about the Plasma-devel mailing list