Adding a maliit task, because it contains the following piece of code,
which just seems broken to me:

    if (hints == Qt::ImhFormattedNumbersOnly || hints == Qt::ImhDigitsOnly) {
        type = Maliit::NumberContentType;
    }

Thus ubuntu-keyboard never has the information it needs to show the
right keyboard.

Changing this in maliit would presumably mean adding a new contentType,
which all maliit consumers would have to support (or suffer breakage)...
:(

** Also affects: maliit-framework (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to maliit-framework in
Ubuntu.
https://bugs.launchpad.net/bugs/1586435

Title:
  Qt.ImhDigitsOnly should only show digits

Status in maliit-framework package in Ubuntu:
  New
Status in ubuntu-keyboard package in Ubuntu:
  New

Bug description:
  When using "inputMethodHints: Qt.ImhDigitsOnly" in an SDK TextField, I
  get a keyboard that includes  a hyphen, a space, a period, and a plus
  (with extended # and * on the plus).

  That looks more like a keyboard I'd expect for
  Qt.ImhFormattedNumbersOnly.

  But I only asked for digits!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/1586435/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to