word prediction doesn't work correctly after moving cursor

Bug #1375951 reported by Bill Filler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-keyboard
Fix Released
High
Michael Sheldon
ubuntu-keyboard (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

The keyboard only seems to enter into pre-edit mode correctly (i.e. word underlined) whilst typing a word or backspacing into a word at the end of a sentence. It does not work correctly if you move the cursor directly to a word not at the end of the sentence and causes the wrong behavior when trying to edit a word in that case.

To reproduce:
1) Type "Hello brother and sister"
2) move cursor after the "r" in "brother"
3) delete up to "bro" then type "ther" and notice entire word not underlined and word ribbon shows "brother"

Expected Results:
- pressing space should result in "brother" being inserted

Actual Results:
- pressing space results in "brobrother" being inserted as beginning part of the word was not correctly underlined or identified with being part of the prediction.

Additionally, if autocaps is on and triggered by finishing a sentence with a period, and then the cursor is moved into the sentence, the Caps lock stays on and it should get disbaled.

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :

If it's not possible to correctly enter preedit mode when moving the cursor, a workaround might be to disable all the auto-everything if we detect we are in this special editing mode as to prevent the appended words that are happening by not taking into account the adjacent text

Changed in ubuntu-keyboard:
importance: Undecided → High
assignee: nobody → Michael Sheldon (michael-sheldon)
tags: added: rtm14 touch-2014-10-23
Revision history for this message
Joe Odukoya (jodukoya) wrote :

I've just checked this behaviour on an iOS device and a Windows device and both of them work correctly (i.e. do the right thing).

Please can we try to avoid the workaround (which will just add to user frustration) and instead work towards doing the right thing.

Bill Filler (bfiller)
Changed in ubuntu-keyboard:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-keyboard (0.99.trunk.phablet2+14.10.20141010-0ubuntu1) 14.09; urgency=low

  [ Michael Sheldon ]
  * Fix re-entry of preedit when in the middle of a sentence, disable
    preedit when editing in the middle of a word and re-evaluate
    autocaps whenever the cursor position changes. (LP: #1375951)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Fri, 10 Oct 2014 13:51:14 +0000

Changed in ubuntu-keyboard (Ubuntu RTM):
status: New → Fix Released
Changed in ubuntu-keyboard:
status: Confirmed → Fix Released
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.