Review Request 123475: Execute KAuth jobs for brightness control in an async manner

Aleix Pol Gonzalez aleixpol at kde.org
Thu Apr 23 11:32:29 UTC 2015


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



daemon/backends/upower/powerdevilupowerbackend.cpp (line 156)
<https://git.reviewboard.kde.org/r/123475/#comment54232>

    Is it fine to use exec() here?


- Aleix Pol Gonzalez


On April 23, 2015, 1:05 p.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123475/
> -----------------------------------------------------------
> 
> (Updated April 23, 2015, 1:05 p.m.)
> 
> 
> Review request for Plasma, Solid and Kai Uwe Broulik.
> 
> 
> Repository: powerdevil
> 
> 
> Description
> -------
> 
> KJob::exec is dangerous and caused freezes on my system. Thus this change
> to remodel the interaction in an async way.
> 
> 
> Diffs
> -----
> 
>   daemon/backends/upower/powerdevilupowerbackend.h 1c4dd592f0a3cb07b9821c7f82c89517d599635a 
>   daemon/backends/upower/powerdevilupowerbackend.cpp 87b9cc7b7db1b6a6f5b31263cd3832715c497328 
> 
> Diff: https://git.reviewboard.kde.org/r/123475/diff/
> 
> 
> Testing
> -------
> 
> kded5 no longer freezes. But I'm not sure whether the init gets finished: is there a way to easily verify whether the module loaded completely?
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150423/f5607bb9/attachment.html>


More information about the Plasma-devel mailing list