Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0 RC
-
-
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
For Gerrit Dashboard: QTBUG-43156 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
261834,3 | QAndroidInputContext: Fix text corruption when quickly moving cursor | 5.12 | qt/qtbase | Status: ABANDONED | 0 | 0 |
264060,3 | QAndroidInputContext: Improve compatibility with virtual keyboards | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |