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

Touchscreen: Discrepancy between QML TextInput and QLineEdit behaviour with Windows virtual keyboard

    XMLWordPrintable

Details

    • Windows

    Description

      See attached example and animated GIFs.

      EDIT: Originally reported against Qt 5.15, but the same behaviour is observed on Qt 6.2. To run the example in Qt 6.2, add QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL); before the Qt Quick code.

       

      QLineEdit behaviour (Good):

      • Upon launch, a single tap is sufficient to bring up the native virtual keyboard
      • Activating a QLineEdit with password echo mode brings up the native virtual keyboard

      TextInput behaviour (Bad):

      • Upon launch, 2 taps are required to bring up the native virtual keyboard. (Note: The first attempt needs 2 taps; subsequent attempts only need 1 tap)
      • Activating a TextInput with password echo mode fails to bring up the native virtual keyboard – it even CLOSES the native virtual keyboard if it's already open

      Attachments

        Issue Links

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

          Activity

            People

              hurlevent Oliver Eftevaag
              skoh-qt Sze Howe Koh
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change