Review Request 122510: [screenlocker] Mark session as idle in logind while screen is locked

David Edmundson david at davidedmundson.co.uk
Tue Feb 10 13:29:38 UTC 2015


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


I'm not convinced this is right.

>From the doc you linked: 
 This is necessary for the system to implement auto-suspend when all sessions are idle.
 
When we lock the screen, powerdevil is still running, no?

Powerdevil has an inhibition blocking logind suspending, so I think overall this will just do nothing.

- David Edmundson


On Feb. 10, 2015, 1:21 p.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122510/
> -----------------------------------------------------------
> 
> (Updated Feb. 10, 2015, 1:21 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Bugs: 271731
>     https://bugs.kde.org/show_bug.cgi?id=271731
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> See the idle recommendations on [1]. Binding it to the lock screen does
> not exactly match the recommendation, but it has some advantages:
> * we know it's idle when it's locked
> * it kicks in after the user's configured idle timeout
> * if the user unlocks we know it's no longer idle
> 
> FEATURE: 271731
> FIXED-IN: 5.3.0
> 
> [1] http://www.freedesktop.org/wiki/Software/systemd/writing-desktop-environments/
> 
> 
> Diffs
> -----
> 
>   ksmserver/screenlocker/ksldapp.cpp e23b50fbcaac659bb6ef1b36a4de6efc63573978 
>   ksmserver/screenlocker/logind.h 99836734923740a1f0b23144f9effd815f104b74 
>   ksmserver/screenlocker/logind.cpp 5335b150bce8f38aee75ad30055bc0e248ed1bf1 
> 
> Diff: https://git.reviewboard.kde.org/r/122510/diff/
> 
> 
> Testing
> -------
> 
> Run the test application and verified using loginctl from tty1 while the screen was locked and after unlocked.
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

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


More information about the Plasma-devel mailing list