- 
    
Bug
 - 
    Resolution: Invalid
 - 
    
P2: Important
 - 
    None
 - 
    6.5.5, 6.7.0 RC, 6.7.2, 6.8.0 Beta3
 - 
    Windows 10 22H2, Mozilla Firefox 123.0.1 and Microsoft Edge 122.0.2365.92 static Qt
 
- 
        
 - 
        c844a7a5429e74d7cefb9774f288dbaa76fc2bbb
 
See the attached project, which is a simple Qt Quick project generated by Qt Creator with Qt VKB enabled. I only added a button and TextField.
Code
import QtQuick import QtQuick.Controls.Basic import QtQuick.VirtualKeyboard Window { id: window width: 640 height: 480 visible: true title: qsTr("Hello World") Column { Button { text: "Manually Activate VKB" onClicked: inputPanel.active = true } TextField {} } InputPanel { id: inputPanel z: 99 x: 0 y: window.height width: window.width states: State { name: "visible" when: inputPanel.active PropertyChanges { target: inputPanel y: window.height - inputPanel.height } } } }
Steps to reproduce
- Build and run the attached project
 - Click/tap on the TextField to give it focus
 - Click on the "Manually Activate VKB"
 - Click/tap on the TextField to give it focus
 - Click on the virtual keys
 
Expected outcomes (Windows kit)
- Step #2: The virtual keyboard auto-appears
 - Step #5: The clicked characters appear in the TextField
 
Unexpected outcomes (WASM kit)
- Step #2: Nothing happens
 - Step #3: The virtual keyboard appears (which is good)
 - Step #5: Nothing appears in the TextField. The debug console says, "input method is not set"
 
| For Gerrit Dashboard: QTBUG-123308 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 593075,4 | wasm: fix qtvirtualkeyboard input | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |