We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

[bug] Power key double-press doesn't display lock input screen if device is locked [answered]

asked 2015-11-04 13:20:19 +0200

AliN gravatar image

updated 2015-11-04 14:07:21 +0200

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:

  1. Enable device lock
  2. When the display is on, double press the power key to lock the device
  3. 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.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by AliN
close date 2015-11-04 14:12:02.766641

Comments

1

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 )edit

You 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

1 Answer

Sort by » oldest newest most voted
1

answered 2015-11-04 14:06:00 +0200

AliN gravatar image

updated 2015-11-04 14:09:32 +0200

Thanks @g7 for their comment. It was my problem. Using a comment by @spiiroin I needed the following command to solve it:

devel-su mcetool --reset-settings=/system/osso/dsm/powerkey/dbus_action2

Didn't work without root privilege.

edit flag offensive delete publish link more

Comments

1

Note: It should not require root privileges, bug ticket at: https://bugs.merproject.org/show_bug.cgi?id=1406

spiiroin ( 2015-11-04 14:51:00 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2015-11-04 13:20:19 +0200

Seen: 218 times

Last updated: Nov 04 '15