touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #98555
[Bug 1488778] [NEW] Using inputMethodHints: Qt.ImhFormattedNumbersOnly for keyboard doesn't present locale "."
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
Touch seeded packages, which is subscribed to ubuntu-keyboard in Ubuntu.
https://bugs.launchpad.net/bugs/1488778
Title:
Using inputMethodHints: Qt.ImhFormattedNumbersOnly for keyboard
doesn't present locale "."
Status in ubuntu-keyboard package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyboard/+bug/1488778/+subscriptions