update on active screen locker

Aaron J. Seigo aseigo at kde.org
Tue Jan 31 12:45:05 UTC 2012


hi :)

on the airplane back home today, i finished up the integration of sleep and 
shutdown controls into the lock screen. it works rather nicely imho ...

as promised, when first locked a countdown begins (~5 seconds long) after which 
the device is put to sleep. touching the slider during the countdown cancels 
the the sleep.

this should take care of all of the use cases we had while optimizing for the 
common case.

device capabilties are taken into consideration -> if sleep or shutdown is not 
available (or disabled via configuration, e.g. kiosk) then those features are 
not available.

to test, make sure you have the latest kscreenlocker from the screenlocker 
branch in kde-workspace as well as kde-plasma-artwork.


that's the good news. now some implementation notes:

i wasn't overly happy with the visuals. the shutdown label and slider 
overlapped the vines on the top right. so i removed the vine. the lock paper 
is therefore a little more  plain but it looks a lot nicer imho with the new 
bits of chrome that are there. Marco: feel free to weigh in on that decision.

the other reason i'm not tooooo happy with the look is that i just used the 
regular sliders from Plasma components. that could certainly be better imho. 
the sleep slider is full and the shutdown slider was empty in their default 
states, which was odd, so i rotated (!) the shutdown slider. perhaps something 
better could be achieved but it will take someone with more artistic skills to 
apply some efforts there.

this will need some user testing to make sure it's clear to people what is 
happening and how to sleep (or not) and shutdown the device, if it is easy 
enough to trigger (right now you have to move the the slider to a value of 
less than 5; the sliders range from 0 to 100 internally..)

one final thing: i don't particularly understand why the active lock screen QML 
is in the atwork module. keeping the wallpaper .png there would be enough. 
imho that qml ought to move into the plasma-mobile repository since its code 
and, well, working on an airplane with svn is not so much fun ;)

cheers ...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/active/attachments/20120131/2ddf5d4a/attachment.sig>


More information about the Active mailing list