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

TextField element corrupts text on Android with Swyftkey keyboard

    XMLWordPrintable

Details

    • Android
    • 1ade5ea41ab80e49e92fe46e0c44f76ee2e5e7fb (qt/qtbase/5.12)

    Description

      Application was developed under Qt 5.3.0. The android version had differences from the Linux behavior but worked.

      However when I place a text cursor in a TextField and drag the caret around, it corrupts the text. I'm not trying to modify the text. I'm using a SwyftKey keyboard. the -22.png file the username text is mangled from the original text (the other file). -22 is a result of just dragging the caret.

      Also, when the keyboard is up, there is an underline on the text from 0 to the caret/cursor.

      Also, when the keyboard is up the text is moved down a few pixels when it is underlined.

      I have no idea why it is underlined. It may be my keyboard.

      But at the same time, I don't see any aberrant behavior with swyftkey in other apps.


      I just tried using my stock android keyboard (Samsung, Note 2) and it doesn't have the corruption but the cursor is taller than the bounding box for the text. There is no underline. Otherwise it is fine.

      So to recap, Swyftkey worked well enough in 5.3.0 bit no longer in 5.4.0-rc.

      W/IInputConnectionWrapper( 2117): getExtractedText on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getTextBeforeCursor on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getSelectedText on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getTextAfterCursor on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getExtractedText on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getTextBeforeCursor on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getSelectedText on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getTextAfterCursor on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getExtractedText on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getTextBeforeCursor on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getSelectedText on inactive InputConnection
      W/IInputConnectionWrapper( 2117): getTextAfterCursor on inactive InputConnection
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 13
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 13
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 13
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 13
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 13
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 13
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 13
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 0
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 0
      W/Qt      ( 2117): (null):0 ((null)): Input method out of sync "" 0
      

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            scorp1us Jason Hihn
            Votes:
            7 Vote for this issue
            Watchers:
            19 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes