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

[REG 5.15.2->6.2] Virtual Keyboard is hidden by QML dialog

    XMLWordPrintable

Details

    • All

    Description

      When a TextField inside a Dialog is edited, the Virtual Keyboard is shown (expected), however the keyboard is hidden by the dialog. Please check the attached picture.

      My tests were done in a pure QML application. I don't know if the same problem happens in QWidget as well.

      Here is a sample code to reproduce the problem: 

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Window
      
      import QtQuick.VirtualKeyboard
      import QtQuick.VirtualKeyboard.Settings
      
      ApplicationWindow {
          width: 600
          height: 400
      
          visible: true
      
          title: "Keyboard Test"
      
          Component.onCompleted: {
            dialog.open();
          }
      
          Dialog {
            id: dialog
      
            anchors.centerIn: parent
      
            width: 0.5*parent.width
            height: 0.5*parent.height
      
            title: "Dialog"
      
            TextField {
              text: "Test 1"
            }
          }
      
          InputPanel {
            y: parent.height - height
            width: parent.width
          }
      }
      

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-97439
          # Subject Branch Project Status CR V

          Activity

            People

              vhilshei Volker Hilsheimer
              gbkoerich George Broering Koerich
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes