Public bug reported:
With OTA5, a simple program with:
TextField {
validator: DoubleValidator {}
inputMethodHints: Qt.ImhFormattedNumbersOnly
}
The user won't be able to put any non integer value in the field using
the keyboard in some languages.
Indeed, the DoubleValidator is using the current locale to know what is the
normalized "." type. In FR_fr, it's ",".
So the Qt DoubleValidator will only accept [0-9,] in the field, where the
keyboard only present "." which is thus rejected.
** Affects: ubuntu-keyboard (Ubuntu)
Importance: Undecided
Status: New
** Tags: devexp
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1488778
Title:
Using inputMethodHints: Qt.ImhFormattedNumbersOnly for keyboard
doesn't present locale "."
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyboard/+bug/1488778/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs