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

Qt Virtualkeyboard Binding loop detected for property "active" if the input is in nested Layouts

    XMLWordPrintable

Details

    • Linux/X11, Linux/Yocto

    Description

      If the TextInput is within two Layouts, like:

      ColumnLayout {
          RowLayout {
              TextInput{}
          }
      }
      

      and InputPanels Active property is used size calculations, it gives:

      "qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:127:5: QML Keyboard: Binding loop detected for property "active""
      

      then VirtualKeyboard can't be hidden anymore - nor by clicking on another element of UI ( for example button ) nor by clicking on keyboard_hide button on VirtualKeyboard itself.
      Another click inside TextInput ( after the first one that brings up the keyboard ) recover situation.
      It works if the Column and Row Layout is changed to just Column or Row.
      Please check the attached code for an example!

      Attachments

        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
            karimpinter Karim Pinter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes