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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.9, 5.11.2, 5.12.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      Android
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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