Note: The latest version of the patch has only been tested on 2.0.0 Saimaa, but it should also work in 1.1.9 Eineheminlampi.
NEW SINCE 2.0.0.10-1: A new custom keyboard has been included, so that now the patch works in "act dead" mode.
Oh, the pulley menus! They are so good that you are able to use them without looking at the screen.
And that's really a problem with the morning alarm :)
This simple patch adds to the Alarm user interface a simple Maths question, that you need to resolve to make the alarm dismiss for good.
Timers and Calendar reminders are not affected by this patch.
This patch requires PatchManager. Ensure to remove the patch before upgrading to a new SailfishOS release.
Code is available at GitHub.
Note: you won't find divisions, I don't hate myself that much to make my alarm ask me for a division at 5:30 AM :P
Attachment | Size | Date |
---|---|---|
sailfishos-patch-maths-in-alarm-2.0.0.10.1-1.noarch.rpm | 5.72 KB | 20/01/2016 - 20:31 |
sailfishos-patch-maths-in-alarm-2.0.0.10-1.noarch.rpm | 5.57 KB | 26/10/2015 - 21:13 |
sailfishos-patch-maths-in-alarm-1.1.9.28-1.noarch.rpm | 4.62 KB | 09/09/2015 - 17:19 |
sailfishos-patch-maths-in-alarm-1.1.4.28-1.noarch.rpm | 4.07 KB | 16/04/2015 - 19:04 |
sailfishos-patch-maths-in-alarm-1.0-3.armv7hl.rpm | 4.13 KB | 07/09/2014 - 21:28 |
- [patch] Show the keyboard only when displayedAlarm's type is Alarm.Clock
Comments
tualatin
Thu, 2016/01/21 - 11:41
Permalink
Can we please have some kind of tuning over the math difficulty? )) I like divisions and other operations. I continue my sleeping after "7-1" operation like nothing happend. Though maybe I'm having problems with responsebility.
Thans anyway for your work!!! It really helps a lot :)
BillyHalley
Tue, 2015/10/27 - 00:33
Permalink
Great, thanks! :)
alina
Thu, 2015/09/24 - 15:34
Permalink
Great idea!
BillyHalley
Thu, 2015/09/10 - 00:52
Permalink
Credo anche di aver capito perchè ogni tanto operator è "undefined", questo lo scrivo in italiano perchè non so se saprei spiegarmi in inglese ;)
Il problema è che Math.random() restituisce un numero tra 0 e 0.9999999999 ( non 1 )
Quindi moltiplicato per 4 e nel Math.floor() puoi ottenere 0, 1, 2, 3
e visto che operators ha solo 3 elementi, operators[3] è undefined
Quindi dovresti usare Math.floor(Math.random() * 3 )
Spero di averti dato una mano con la tua, già ottima, patch ;)
( Questo messaggio potrebbe essere doppio perchè la prima volta è scomparso :/ )
eugenio
Thu, 2015/09/10 - 13:36
Permalink
Senza dubbio. Grazie :)
Rikudou_Sennin
Tue, 2015/09/08 - 19:42
Permalink
will you make it work on 1.1.9?
eugenio
Tue, 2015/09/08 - 20:16
Permalink
Yes, once the release is public.
veeall
Mon, 2014/09/15 - 02:20
Permalink
Alarm ui doesn't have a keypad nor bottom pulley when phone wakes up from shutoff state to fire an alarm. Can this be fixed?
Otherwise so great patch, much needed, as alarms are just too easy to cancel while sleeping.
eugenio
Mon, 2015/10/26 - 21:16
Permalink
Latest patch has a built-in keyboard that also works in this particular usecase. Thanks to @BillyHalley for the idea :)
eugenio
Fri, 2014/09/19 - 22:20
Permalink
Yes, you're right. I admit I haven't tested the alarm wake up from shutdown at all.
I'll take a look into it :)
Eugenio
BillyHalley
Thu, 2015/09/10 - 00:38
Permalink
I don't know if you're working on it, but i found a way.
Since i didn't want to find out how to "wake" the keyboard, i just created a new keyboard of buttons, that looks even really nice with the new buttons:
and set the mathsField to readonly
It seems to work this way;)
eugenio
Thu, 2015/09/10 - 13:31
Permalink
Thank you. The problem is that maliit is not started in the special mode that notifies the alarm when the phone is off, so no keyboard in that special case.
Admittedly having a custom keyboard is pretty nice. I'll have fun with it later I guess :)
Mariusmssj
Sun, 2014/09/07 - 21:43
Permalink
LOVE IT!!!
eugenio
Mon, 2014/09/08 - 03:28
Permalink
Glad you love it :)