Author Topic: Rich text interaction with autocorrect.  (Read 3969 times)

beaky

  • Full Member
  • ***
  • Posts: 169
Rich text interaction with autocorrect.
« 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)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Rich text interaction with autocorrect.
« Reply #1 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.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/