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

InputContext.inputItem doesn't exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.2
    • 5.12.0
    • None
    • $ qmake --version; uname -a
      QMake version 3.1
      Using Qt version 5.12.0 in /usr/lib
      Linux pc 4.19.7-arch1-1-ARCH #1 SMP PREEMPT Wed Dec 5 19:57:03 UTC 2018 x86_64 GNU/Linux
    • Linux/X11
    • 81204883f671951371a8582008e1357634e7ff0f

    Description

      InputPanel {
              id: inputPanel
      
              anchors.bottom: parent.bottom
              anchors.left: parent.left
              anchors.right: parent.right
      
              z: 1
      
              visible: active
      
              Connections {
                  target: InputContext
                  onInputItemChanged: console.log("input item ", InputContext.inputItem)
                  Component.onCompleted: console.log("input item ", InputContext.inputItem)
              }
      
          }
      

      Property undefined, signal doesn't exist. But documentation says it exists:
      https://doc.qt.io/qt-5.11/qml-qtquick-virtualkeyboard-inputcontext.html#inputItem-prop

      In 5.12 it's gone:
      https://doc-snapshots.qt.io/qt5-5.12/qml-qtquick-virtualkeyboard-inputcontext.html

      Attachments

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

        Activity

          People

            jakoivik Jarkko Koivikko
            luntik2012 luntik2012
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes