[Kde-hardware-devel] Review Request 113478: Fix brightness not being correctly reset on AC plugged-in

Xuetian Weng wengxt at gmail.com
Mon Oct 28 02:51:58 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113478/
-----------------------------------------------------------

Review request for Solid.


Bugs: 326220
    http://bugs.kde.org/show_bug.cgi?id=326220


Repository: kde-workspace


Description
-------

the wake up from idle events comes later than loading the AC profile brightness, so the brightness in dimdisplay.cpp will reset the brightness after set brightness to new profile value.

KIdleTime::instance()->simulateUserActivity() doesn't trigger the onResumingFromIdle immediately ?from the behavior it's triggered afterwards in eventloop), so we manually call it here to make sure all old action is in good state.


Diffs
-----

  powerdevil/daemon/actions/bundled/dimdisplay.cpp 39e0636 
  powerdevil/daemon/actions/bundled/dimdisplay.h f917d71 

Diff: http://git.reviewboard.kde.org/r/113478/diff/


Testing
-------

Bug fixed.


Thanks,

Xuetian Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20131028/71aa97ff/attachment.html>


More information about the Kde-hardware-devel mailing list