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

WASM - Qt Quick application does not have keyboard focus after loading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.14.0 Beta2
    • Fix Version/s: 5.15
    • Component/s: Quick: Other
    • Labels:
      None
    • Environment:
      Qt 5.14 Beta 2 (Multithreading enabled)
      1.39.0
      Firefox 70.0
      Chrome 80.0.3955.4
    • Platform/s:
      WebAssembly
    • Commits:
      Ibc9582254dda91eb14ebcdf4b8ea4a4f862aa88d

      Description

      If you start the following qml app on the desktop it will open the TextField has focus and you can start typing.
      If you start the same app on the browser it will look like the TextField has keyboard focus(Cursor blinking) but on typing something nothing happens. As soon as you click anywhere in the page it will start working.

      import QtQuick 2.12
      import QtQuick.Window 2.12
      import QtQuick.Controls 2.12
      
      Window {
          visible: true
          TextField{
              focus: true
          }
      }
      

        Attachments

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

          Activity

            People

            • Assignee:
              lpotter Lorn Potter
              Reporter:
              Marscho Marscho
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes