REPRODUCIBILITY: always
OS VERSION: Sailfish OS 4.5.0.24 (Struven ketju)
HARDWARE: Xperia 10 II
UI LANGUAGE: german
REGRESSION: no
DESCRIPTION:
In fact i am not sure that every android app and all possible numeric keyboards are affected by that.
For me the main motivation is the paypal app when one wants to transfer money. I currently have to round up/down to full EUR because i can not enter cents.
PRECONDITIONS:
for the concrete example a paypal account would be needed, and the paypal app from aptoide
alternatively any other android app with a numeric input field might do
STEPS TO REPRODUCE:
open paypal
start a transfer or request
try to enter “42,42”, currency does not matter
EXPECTED RESULT:
Would like to be able to enter a decimal number. Or at least paste it.
ACTUAL RESULT:
Can not enter or even paste a decimal number.
MODIFICATIONS:
none
ADDITIONAL INFORMATION:
There seem to be multiple numeric keyboards and one does have the “dot”. i.e. in the app splitwise i can not repro, and the 2FA numeric keyboard of paypal looks different than the one used for amounts
I have not installed any custom keyboards, and there is no way to swipe to a working keyboard.
Would be nice if someone would try to reproduce. If others are not affected we can find differences in the setups, and if others are maybe they can find clues on what might be going on.
the paypal keyboard does not really need a decimal separator, because it automatically starts on cent level and pushes the digits through to the front,basically you enter the desired amount in cents.
give me your paypal, i request 42.42 and you pay that request, after that i pay you back 42.42 from my laptop … so you would be betting 4199.58 eur on that?
Maybe it did some day, now it does not. i have version 8.54.2 from aptoide.
It might well be an issue in the app itself, but that keyboard looks rather sailfish “native” to me.
I fully agree - the missing comma on the numerical keyboard is bothering me since ages. I oftentimes use the memo app and copy and paste the number (with comma)
The hassle is not only with paypal but with many web sites that have a numerical input field and that automatically invokes the numerical keypad.
Ok, the layout from the screenshot seems to be PhoneNumberLayoutPortrait.qml, which has the *p key and no decimals.
What you want is NumberLayoutPortrait.qml instead, which does have a locale-specific decimal key.
(These files live in /usr/share/maliit/plugins/com/jolla/).
Now, I wonder if this is a bug in SFOS/AAS, or in the app - maybe the app is actually requesting a “Enter Phone Number” keyboard, or maybe in Android there’s no distinction?
Or is it indeed a bug in AAS, where it should present the Numeric version but instead selects PhoneNumberGeneric.
There’s a workaround for this. Install Gboard (the Google keyboard) and set it as standard keyboard in the Android keyboard settings. This will also solve the issue in some non-localised Android apps where you have to enter a decimal point but the numeric keyboard only has a comma available. I find typing in Gboard easier and less prone to typing errors too.
Not sure that is good advise, i will ignore that. IMHO if you are accepting anything g on the phone, rather take a real thing and stop fiddling with sailfish. For me anything g is surely off limits.
This is a really stupid comment.
I have been 10 years with Sailfish and I need to run Android apps. If you don’t, it means you are not using your smartphone as such.
That looks like it has gotten a phone numerical keyboard, and not a general numerical keyboard. I can definitely get an Android app to have a numerical keyboard with decimal point. I don’t know how many types of keyboard can be requested in Android, but it could quite simply be that the app is requesting the wrong type.
And it seems to also have been answered (with undeserved down-votes to boot). So unless Sailfish maps some of the number types to phone wrongly, it is the Android app actively requesting the wrong type of keyboard.
Thank you for reporting and commenting. I have filed an internal bug and tagged this Forum post with ‘tracked’.
I was able to reproduce the defect with the 4.6.0/devel build.