maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Manual devicelock (https://talk.maemo.org/showthread.php?t=99451)

rasmarc 2017-06-08 18:37

Manual devicelock
 
There's one thing I don't get. Why can't I lock the device manually when automatic locking is disabled?? (two question marks emphasizing my cluelessness)

To work around this I modified /usr/share/jolla-settings/pages/devicelock/devicelock.qml and added a timeout of 24 hours:
Code:

MenuItem {
    //% "1 day"
    text: qsTrId("1 Tag")
    visible: deviceLockSettings.maximumAutomaticLocking === -1
                || deviceLockSettings.maximumAutomaticLocking >= 1440
    onClicked: lockingCombobox.setAutomaticLocking(1440)
}

Code:

} else if (value === 1440) {
    return 6

but what? In 2.1.1.12 the device gets locked after around 3 hours automatically instead of one day.

So I don't see a chance to lock my device just manually. I have to set automatic locking to "not in use" and change it to "no delay" when i have to lock it. Strange.

But besides that I got quite convinced of th UI concept after two weeks of asking myself "why is there no real home screen (as in fremantle), which is launcher, switcher and events view in one"? In fact I'm already really happy with my Jolla C. Using it feels very smart to me.

coderus 2017-06-08 19:13

Re: Manual devicelock
 
Did you tried fast doubleclick power button for device locking?

rasmarc 2017-06-08 19:24

Re: Manual devicelock
 
Quote:

Originally Posted by coderus (Post 1528975)
Did you tried fast doubleclick power button for device locking?

Yes I did. When automatic locking is set to "not in use" double pressing the power button does nothing. Should it lock? Did I something put wrong?

nthn 2017-06-08 20:15

Re: Manual devicelock
 
I just checked and I can reproduce your problem. Seems like a bug.

coderus 2017-06-08 20:51

Re: Manual devicelock
 
then you should report it to tjc for sure :)

rasmarc 2017-06-08 22:36

Re: Manual devicelock
 
As a note, I wanted to set the dbus action for device locking to the power key using mcetool, but after figuring out the code with dbusinspector
Code:

dbus-send --system --type=method_call --dest=org.nemomobile.devicelock /devicelock org.nemomobile.lipstick.devicelock.setState int32:1
it turned out that the dbus signal also doesn't work when automatic locking is set to "not in use".


All times are GMT. The time now is 13:42.

vBulletin® Version 3.8.8