update on active screen locker

Aaron J. Seigo aseigo at kde.org
Thu Feb 16 11:37:04 UTC 2012


On Wednesday, February 15, 2012 12:22:38 Thomas Pfeiffer wrote:
> On 31.01.2012 13:45, Aaron J. Seigo wrote:
> > 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 ...
> 
> After having used the new locker for a while, I agree that it works really
> well! I don't use the software shutdown button at all anymore since the
> locker offers all I need (except for reboot after an upgrade, which is
> another story).
> > 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.
> 
> The system works well in general! There are just some details that still
> need a little love:
> 
> - After the timer reaches zero, the slider goes back to the start and the
> text reads "Sleeping in 5 seconds" again. Instead, it should not go back to
> the start until after resuming and should just read "Sleep" after the timer
> goes to zero.

the text should indeed read just "Sleep". that's a straight-out bug, in fact.

the slider position is more difficult and something that i'm not sure how to fix 
properly. the problem is that we don't have any notification for when sleeping 
is starting or we have come out of sleep. (kernel / power management issue; so 
deep in the stack.) so the UI just resets itself to what you will see when the 
device unsleeps eventually.

i'll fix the text up, not sure how i can deal with the slider position.

> - If I tap the slider while it's moving, it returns to the
> starting position instead of remaining where I tapped it. This feels
> strange when I want to "accelerate" the countdown.

hm.. indeed. ok, this will require a little more logic in the QML, but it is 
doable.

> Now we only need to remember to integrate a reboot function in our update
> manager so updates actually take effect (otherwise they would never do for
> users who never shut their device down).

fortunately very few updates require a full power cycle, but yes, this is a 
good point indeed and should be done ...

> > 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..)
> 
> I just conducted some "extensive" user testing (n=1 ;) ). The result was
> that the participant understood what happened and was able to shut the
> device down using the slider. He said he got the clue when the slider was
> moving automatically. However, as expected, he was confused when the text
> read "Sleeping in 5 seconds" after resuming. But that's a bug that should
> be easy to fix, right? ;)

yes :) thanks for testing. glad it basically works ...

> And by the way: Can we suppress the notification "The screen is being
> locked"? 

yes; and easy to do as well .. should probably not be there on the desktop 
either.

-- 
Aaron J. Seigo
-------------- 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/20120216/b356c1be/attachment.sig>


More information about the Active mailing list