Important: Please read the Qt Code of Conduct -

Virtual keyboard does not copy or show wengineview input text

  • What works: Virtual Keyboard in fullScreen mode enabled works with native qml TextInput as expected: it shows the text that was already in the field when input was focused and it shows the edited text.

    What does not work: When input field seen in webengineview is focused (input field in web page) the virtual keyboard input field text is empty, and does not update when inputting text.

    Question 1: Is this a bug, or is there a way to make it work?
    Question 2: Is there a way to make virtual keyboard to show the inputted text without going to fullScreen mode?
    This would be the best option in my opinion.

    Image to demonstrate the situation:

    Testing code:

    import QtQuick 2.11
    import QtQuick.Window 2.2
    import QtQuick.VirtualKeyboard 2.3
    import QtQuick.VirtualKeyboard.Settings 2.2
    import QtWebEngine 1.7
    Window {
        id: window
        visible: true
        width: 1280
        height: 768
        title: qsTr("Hello World")
        WebEngineView {
            id: webview
            anchors.fill: parent
            url: ''
        Rectangle {
            height: 100
            width: window.width
            color: "#800000FF"
            TextInput {
                id: textfield
                anchors.fill: parent
                visible: true
                text: "Just some text"
                color: "white"
                font.pointSize: 50
        Component.onCompleted: {
            VirtualKeyboardSettings.fullScreenMode = true;

Log in to reply