Unblanking Issue
Hei,
I just updated my SailfishX to the latest EA. I wanted to configure unlocking to a similar method than that of the fruitphone has:
- when locked, press power button to unlock.
- when unlocked, press power button to lock.
- autolock timeout set to immediately.
Now when unlocked, and I press power button to lock (immediately), and then try to unlock the phone, the lock screen remains. When swiped away, an empty screen (like an overlay) comes up. When locked from this screen via the power button, the same happens over and over. But when locked via top swipe, the phone can be unlocked (with fingerprint, or PIN).
Anyone else experiencing the same?
EDIT
Response to @spiiroin's comments: First of all, thank you!
The tag states the version: 2.2.0.29
So, the only thing I modified was this (from single unblank):
mcetool --set-display-off-single-powerkey-press=unblank,tkunlock
This way the phone is supposed to directly unlock if the fingerprint is recognized while pressing the power button. If not so, the keypad should come up requesting the unlock code.
I never ever installed any patches on any of my phones running SailfishOS.
For now, as a workaround, I set the autolock time to 5 minutes. This more or less helps, but it is not what I would like. My goal is to lock immediately (with or without power key).
End of EDIT
EDIT 3.0.0
Hi @spiiroin,
I gave it another try with the latest EA. This time it is 100% reproducable. Here is how:
mcetool --set-low-power-mode=enabled
Now, when LPM screen is on, touch the biometric sensor and press the power button. The phone seems to be unlocked as no keypad comes up, however; by swiping to either side the "ghost screen" slides in.
Falling back to the original setup for the time being, as the prvious version gave this issue only occassionally.
End of EDIT 3.0.0
LVPVS over.
@LVPVS Does "I wanted to configure" indicate that you changed something somewhere?
Assuming you did change settings/patched something: "an empty screen (like an overlay) comes up" sounds like what has happened earlier when some state handling logic manages to not handle a state the device has arrived to, or a unusual route taken to that state -> Exact steps to reproduce would be useful (and while "the latest ea" is valid _now_, specifying actual sw version is more useful for anybody trying to reproduce this later on).
spiiroin ( 2018-06-08 09:01:55 +0200 )edit@LVPVS I think I know where it goes wrong for you i.e. "autolock timeout set to immediately". Technically "lpm" is considered equal to "display off" blanked. So if you manage to unlock device in lpm, it should / tries to lock immediately again. Haven't checked yet in more detail, but I'd imagine that would be excellent source for some hiccups.
Personally I prefer to have some slack in the automated device locking and explicitly lock with double power key press when needed, so this aspect completely escaped me while debugging the issues.
spiiroin ( 2018-11-01 16:42:17 +0200 )edit@spiiroin,
I see your point. I set my device to 5 min delay from lock immediately and re-enabled LPM. Now it works more or less the way I think it should be. At least, I did not experience any "ghost screen"-s so far.
Kiitos,
LVPVS
LVPVS ( 2018-11-01 19:49:18 +0200 )edit