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

[Android] Text selection handles stay visible when keyboard is hidden

    XMLWordPrintable

Details

    • Android

    Description

      When you have text selection handles visible and you hide Android virtual keyboard with 'back' key, then the handles stay visible. This is a nuisance especially if the handle covers something (see attached screenshot). This could be considered as regression, because the problem appeared in Qt 5.8.0 (due to larger change regarding text selection handle implementation).

      Comparing to other Android applications, like gmail or calendar, the handles are not hidden either when the keyboard is hidden, but there the handles disappear after a short while (this happens always i.e. also when the keyboard is visible, but the handles are not used). Therefore I suggest to implement similar timeout mechanism to Qt Android port. It would fix this bug and improve the overall Android experience as well.

      This problem was noticed with TextField item, but according to my understanding the same handles are used in other editors too. To reproduce, write some text to an editor and select/tap text such that a handler becomes visible, then hide the keyboard with the 'back' button.

      Attachments

        1. overlap keyboard.png
          172 kB
          Ekkehard
        2. overlap selection menu.png
          105 kB
          Ekkehard
        3. qtbug.png
          33 kB
          Qt Support

        Issue Links

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

          Activity

            People

              tvete Paul Olav Tvete
              qtcomsupport Qt Support
              Votes:
              24 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes