[bug] Power key double-press doesn't display lock input screen if device is locked [answered]
When device is (code) locked, a double press on power key should display the lock input screen. Currently on SailfishOS 2.0 (i.e. 1.1.9+) it shows the lock screen.
To reproduce the bug:
- Enable device lock
- When the display is on, double press the power key to lock the device
- Double press again when the display is off
It should show the lock input screen to enable the user to rapidly unlock the device as in previous releases, but it shows the lock screen; therefore on locked device there's no difference between single press and double press.
I'm not sure if it's related, but in 1.1.9 changelog this is mentioned:
[lipstick-jolla-home] Show device lock on power key double press. Fixes JB#28648
It's not even possible via mcetool
command:
mcetool --set-display-off-double-powerkey-press-actions=<actions>
because the valid actions are:
- blank - turn display off
- tklock - lock ui
- devlock - lock device
- dbus1 - send dbus signal or make method call
- shutdown - power off device
- unblank - turn display on
- tkunlock - unlock ui
- dbus2 - send dbus signal or make method call
Or, I think, tkunlock should display lock input screen when device is locked. Default actions for display-off-double-powerkey-press are unblank,tkunlock,dbus2.
Works fine here in 2.0.0.10 and, last time I checked, also in 1.1.9.
g7 ( 2015-11-04 13:37:44 +0200 )editYou can double-click the powerbutton to get different action?
Cool! Thank you this little piece of information :) !
Direc ( 2015-11-04 23:13:15 +0200 )edit