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

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

XMLWordPrintable

    • Windows

      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

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

            fredericl Frederic Lefebvre
            skoh-qt Sze Howe Koh
            Votes:
            5 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: