Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22298

QML TextInput on Meego/N9 Harmattan does not get all events with the VKB that it does with a physical keyboard

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Not Evaluated
    • Resolution: Out of scope
    • 4.7.4
    • None
    • GUI: Text handling
    • None
    • N9; app built with Qt SDK (Creator 4.3 and Qt 4.7.4)

    Description

      If a TextInput instance has a handler onTextChanged(), normally it will be called for each character the user types in the field. This is true on the desktop, on the N900 and also on the N950 with the physical keyboard. However on an N950 or N9 with the virtual keyboard, the user must press Enter before the textChanged signal is emitted. Likewise Keys.onPressed and Keys.onReleased do not work as expected: they are called only when the user hits the Enter key. This makes it difficult to implement any kind of typeahead search feature in an app, for example.

      I will attach an example which demonstrates the bug.

      Setting the inputMethodHints property of TextInput to Qt.ImhNoPredictiveText is NOT sufficient to fix this. I hate to have to resort to C++ just to get this one feature!?!

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              denexter Andrew den Exter (closed Nokia identity) (Inactive)
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes