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

Provide and document a proper replacement for InputContext.inputItem

    XMLWordPrintable

Details

    Description

      InputContext.inputItem was silently removed then restored in Qt 5.12 (see QTBUG-72494 ). However,

       

      The value of this property seems to correspond to QGuiApplication::focusObject. However, that is not exposed to QML (https://doc.qt.io/qt-6/qml-qtquick-application.html does not contain Application.focusObject)

       

      Suggestions

      1. Provide new QML API and/or identify an existing QML API to replace InputContext.inputItem
      2. Make https://doc.qt.io/qt-6/qml-qtquick-virtualkeyboard-inputcontext-obsolete.html#inputItem-prop point to that API
      3. Update https://github.com/qt/qtvirtualkeyboard/blob/v6.8.0/examples/virtualkeyboard/basic/content/AutoScroller.qml to use that new API

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes