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

Standard virtual keyboard typing does't generate standard QML events.

    XMLWordPrintable

Details

    • Android
    • 1ca4bb634 (dev), ca3144757 (6.6), 7307ece74 (tqtc/lts-6.2), 66bf731dd (6.5)
    • 2023wk16FOQtforAndroid, 2023wk18FOQtforAndroid, 2023wk20FOQtforAndroid, 2023wk22FOQtforAndroid, 2023wk24FOQtforAndroid, 2023wk26FOQtforAndroid, 2023wk28FOQtforAndroid

    Description

      A simple standard QML / controls app on Android we can use TextEdit or TextField components and those automatically enable the native virtual keyboard.

      While typing from a real keyboard causes the 'text' variable to be changed in those components, this does not seem to happen on Android.

      Code that responds to what the user typed (changing a button to enabled, for instance) will not get triggered until the focus leaves the widget.

      I expect that the virtual keyboard behaves basically the same as a full size keyboard to the underlying application. Hiding from the app what input device is used.

      Attachments

        1. main.qml
          2 kB
          Tom Zander
        2. QTBUG-109306.tar.bz2
          13.48 MB
          Tom Zander
        3. qtbug-109306-repro.mp4
          1.56 MB
          Rami Potinkara
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            tomz Tom Zander
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes