AquaMail Forum

English - Android => Bug reports => Topic started by: beaky on September 16, 2013, 07:47:45 pm

Title: Rich text interaction with autocorrect.
Post by: beaky on September 16, 2013, 07:47:45 pm
Not sure if this is really a bug, but it is certainly a slightly unexpected interaction.
I was sending an email and wanted to include the word 'next' in bold.
Inadvertantly, I hit the space bar before the x. As a result my tablet auto corrected "ne " to "me". It was still bold. Deleting the space does two things, one expected, the other unexpected.

"me" became "ne" again (expected)
It lost the bold attribute (unexpected)
This is entirely repeatable.

By the way in writing this the string "ne" was auto corrected to "me" twice, and to "he" once! Of course that is not within aquamail's area of responsibility!
As I normally use plain text, I would rarely use text styles, so maybe others have seen this already, but I have not seen it reported on here.

Dave. (beaky)
Title: Re: Rich text interaction with autocorrect.
Post by: Kostya Vasilyev on September 20, 2013, 01:43:28 am
Definitely a bug, if you look at this from a 100ft plane.

Autocorrect is a system feature. With rich text editing still being somewhat rare, input methods ("soft keyboards") are used to having full control of the edit area's content, and some of them throw away formatting "stuff".

I already have one workaround in place, that is, if apply styling in the middle of an autocomplete, my code will extend it over the entire word.

Ideally, I'd like to break the input system out of autocomplete mode when the user changes styling, but I don't see a nice documented way to do that.