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

Text selection does not work with Android phones with GBoard/Google Keyboard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.9, 5.11.2, 5.12.0
    • Android
    • Android

    Description

      If you create a basic TextInput, assign som arbitrary text and call selectAll() on it you will see that the selection is cleared as soon as you give it input focus and the keyboard shows up. 

      It happens even if you call selectAll or select while the keyboard is visible. 

      Note that GBoard is the new name for the official Google keyboard used by Android One, Google Pixel and potentially up to 50% of current android users. You can install it on any android phone through Google Play.

       

      Seems to affect all released versions of Qt. I suspect this is because the GBoard has a built-in text selection functionality. (accessible by clicking the G, ".." and "Text editing")

       

       

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            bachewii Jens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes