[Kde-hardware-devel] Review Request 123475: Execute KAuth jobs for brightness control in an async manner

Kai Uwe Broulik kde at privat.broulik.de
Sun May 10 17:08:58 UTC 2015


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



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

    Somehow that code path is never executed making init stuck when XRandR is not supported, however, I don't know why that is. The brightnessmaxjob works fine but the syspath thing doesn't.


- Kai Uwe Broulik


On April 24, 2015, 6:29 vorm., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123475/
> -----------------------------------------------------------
> 
> (Updated April 24, 2015, 6:29 vorm.)
> 
> 
> Review request for 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/kde-hardware-devel/attachments/20150510/a8c9159a/attachment.html>


More information about the Kde-hardware-devel mailing list