Word gets lost if changing layout whilst still in preedit

Bug #1430744 reported by Michael Sheldon
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-keyboard
Fix Released
High
Michael Sheldon
ubuntu-keyboard (Ubuntu)
Fix Released
Undecided
Unassigned

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.

Related branches

Changed in ubuntu-keyboard:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Michael Sheldon (michael-sheldon)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-keyboard - 0.99.trunk.phablet2+15.04.20150316-0ubuntu1

---------------
ubuntu-keyboard (0.99.trunk.phablet2+15.04.20150316-0ubuntu1) vivid; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Michael Sheldon ]
  * Account for keys at the side of the keyboard being extended in size
    when calculating autopilot key positions (LP: #1428584)
  * Add punctuation to extended keys and make comma key more consistent
    across shift states
  * Ensure that extended key selector array is cloned (LP: #1424668)
  * Fix preedit commit when changing layout (LP: #1430744)
  * Fix the placing of apostrophes back into pre-edit and the use of
    apsostrophes/single quotes at the end of words. (LP: #1416018,
    #1417532)
 -- CI Train Bot <email address hidden> Mon, 16 Mar 2015 13:06:47 +0000

Changed in ubuntu-keyboard (Ubuntu):
status: New → Fix Released
Changed in ubuntu-keyboard:
status: In Progress → Fix Released
Revision history for this message
Davide Alberelli (dadexix86) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.