[Interest] Android: Underlined text in text edit not showing up in .text property

Jason H jhihn at gmx.com
Fri Jul 29 16:48:11 CEST 2016


> I raised this problem various time in this mailinglist and into the developing list … no one replied to me.
> I hope you will have a better luck … because that problem is bigger that what would appear.

Well it turns out, this is an easy fix. The displayText property will show the text. Read the notes about it, because its behavior changes according to echoMode.

> > On 29 Jul 2016, at 15:12, Jason H <jhihn at gmx.com> wrote:
> > 
> > I've got a Samsung Alpha (stock) that as I type, the text property is not being updated.
> > I initialized a TextInput (below, comments in []) and backspaced over it, it gets the updates correctly. But when I start typing, anything not recognized by the keyboard is underlined in the text edit and does not appear until I end that word with a space or punctuation. I am concerned that my users will perform an action thinking that that underlined word is part of what will be acted on, when it will not. 
> > 
> > qrc:/main.qml:308 (onTextChanged): qml: text:  this is a line
> > qrc:/main.qml:308 (onTextChanged): qml: text:  this is a
> > qrc:/main.qml:308 (onTextChanged): qml: text:  this is
> > qrc:/main.qml:308 (onTextChanged): qml: text:  th
> > qrc:/main.qml:308 (onTextChanged): qml: text:         [showing _gdhdhd_]
> > qrc:/main.qml:308 (onTextChanged): qml: text:  gdhdhd [appeared completely after space]
> > qrc:/main.qml:308 (onTextChanged): qml: text:  gdhdhd [showing _hdhd_ in the TextInput]
> > qrc:/main.qml:308 (onTextChanged): qml: text:  gdhdhd hdhd [appeared completely after space]
> > qrc:/main.qml:308 (onTextChanged): qml: text:  gdhdhd hdhd [showing _fg_ in the TextInput]
> > 
> > How can I get the entire text?



More information about the Interest mailing list