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

[WebAssembly] Android keyboard does not work and always pops up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.4.1
    • None
    • OS: Ubuntu 22.04
      Qt: 6.4.1 -- installed via online Qt installer
      emsdk: 3.1.14
      Android: 11; Mi 9 SE
      Chrome: 108.0.5359.79
    • WebAssembly

    Description

      There are basically 2 problems with keyboard on Android.

      1. Keyboard always pops up on pressing the screen. It does not matter if there is and element or not, you tap any place on the screen and the keyboard pops up.
      2. It does not work with QML TextField even when it's focused and there is a keyboard popped up, you try to type anything and it's not typing, the field remains empty.

      I attached the minimal example of the application where I experience these issues.

      After I built this example for WebAssembly, I deployed it to my server to test on the Android in the Chrome browser. I've also deployed the app on a free hosting real quick so you can test it asap: https://hopeful-jellyfish.static.app/webasmandroidkeyboardbug

       

      Attachments

        Activity

          People

            lpotter Lorn Potter
            farmovit Farmo Vit
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: