← Back to team overview

touch-packages team mailing list archive

[Bug 1430744] Re: Word gets lost if changing layout whilst still in preedit

 

I sent this email on the ubuntu-phone mailing list today, before noticing this bug:
------------
bq device, r21.
I have 4 keyboard layouts set (Italian, English, German and Emoji). I am not always aware of the last language I used, so sometimes I start typing and then notice that the language of the hints is different from the one I need.

I have two options:
1) finish the word, so the autocorrect changes it to what it thinks that is right, then erase it, change language and type it again.
2) press (or long press) the "World icon" to change language, this will erase the word that I wrote, then I have to type the word again.

What I would expect is that using option 2) the word does not get
erased, but simply the hints change to the ones in the language that I
select (We are all used to this behaviour on Android, as well as on our
computers).

Germans know how long a word can be and how annoying this can be,
especially if you are not texting but writing something in a form in the
browser or writing an email.

And indeed the worst things happen when you are typing fast, because sometimes this button gets pressed instead of the space bar (because the latter is objectively short), so your word gets erased and the language changes without any advice.
----------------


If you switch to another language (maybe not the Emoji layout) the word should _not_ be committed, just the hints should be different.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-keyboard in Ubuntu.
https://bugs.launchpad.net/bugs/1430744

Title:
  Word gets lost if changing layout whilst still in preedit

Status in Ubuntu Keyboard:
  Fix Released
Status in ubuntu-keyboard package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce

  1) Type "Hello" but don't press space

  2) Switch to the Emoji layout

  Expected result

  "Hello" should be committed

  Actual result

  "Hello" disappears.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-keyboard/+bug/1430744/+subscriptions