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

TextField is not editable

    XMLWordPrintable

Details

    • WebAssembly

    Description

      If TextField is located inside Flickable, and you click on the TextField, and then you try to input anything, nothing happens, it keeps being empty.

      Example of the code that does not work:

       

      ApplicationWindow {
          id: win
          width: 800
          height: 600
          visible: true
          
          Flickable {
              anchors.fill: parent
              TextField {
                  anchors.centerIn: parent
                  width: 300
                  height: 40
              }
          }
      }

       

      It worked in Qt 6.4.2. Looks like this commit broke the Keyboard focus somehow.

      One observation. If you click on TextField and press the TAB key once, then the keyboard input will work.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            farmovit Farmo Vit
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes