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

Virtual Keyboard does not copy or show WebEngineView input text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.11.2
    • Virtual Keyboard, WebEngine
    • None
    • Linux/X11

      When input field seen in WebEngineView is focused (input field in web page) the virtual keyboard in fullscreenMode leaves its own input field empty, and does not update when inputting text.

      In contrast, when there is a native qml TextInput, it behaves as expected: text is shown in virtual keyboard input field and the original focused TextInput is updated the same way.

       

      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: 'https://www.google.com'
          }
          Rectangle {
              height: 100
              width: window.width
              color: "#800000FF"
              TextInput {
                  anchors.fill: parent
                  text: "Just some text"
                  color: "white"
                  font.pointSize: 50
              }
          }
          Component.onCompleted: {
              VirtualKeyboardSettings.fullScreenMode = true;
          }
      }
      
      

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

            jakoivik Jarkko Koivikko
            vilvei Ville Lukka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes