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

PSAHAWR-83 - QVK Prediction does not work after changing the keyboardDesignHeight

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 5.12.10
    • Virtual Keyboard
    • None

    Description

      import QtQuick 2.12
      import QtQuick.Controls 2.12
      import QtQuick.VirtualKeyboard 2.5Item {
          id: root
          width: 800
          height: 500    Row {
              TextField {
                  font.pixelSize: 50
                  width: 400
              }        Button {
                  id: button
                  text: "Focus/Height"
                  font.pixelSize: 50
                  onClicked: inputPanel.keyboard.style.keyboardDesignHeight = 500
                  focusPolicy: Qt.ClickFocus
              }
          }    InputPanel {
              id: inputPanel
              y: root.height - height
              width: parent.width
              visible: active
          }
      }
      

      Steps (tested on Qt 5.12.10 + 8.11 patches):

      1. Click on TextField
      2. Enter some characters
      3. Click on Button
      4. Click on TextField
      5. Enter some characters

      Result:
      2. Predictions appear (OK)
      3.Warning output:

      qt.virtualkeyboard.xt9: <?xml version="1.0" encoding="UTF-8"?>
      <keyboard primaryId="9" secondaryId="0" defaultLayoutWidth="728" defaultLayoutHeight="126">
          <area/>
      </keyboard>
      

      5. Predictions don't appear. For Korean, characters other than the (2) are entered. (For example ㅂ and ᄇ)

      This works fine for Qt 5.15.2 + 9.3 patches

      Attachments

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

        Activity

          People

            jakoivik Jarkko Koivikko
            minaljoshi Mina Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes