OSK sms doesn't send the last word if autocomplete is turned on

Bug #1271494 reported by Dave Morley on 2014-01-22
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
messaging-app
Fix Released
Undecided
Łukasz Zemczak
ubuntu-keyboard
Fix Released
High
Łukasz Zemczak
messaging-app (Ubuntu)
Undecided
Łukasz Zemczak
ubuntu-keyboard (Ubuntu)
High
Łukasz Zemczak

Bug Description

If you enable the auto complete option on the keyboard and attempt to send a text without a space at the end the last word number is kept back. If you try to continue the discussion the last word appears.

STEPS TO REPRODUCE:
1. Open the settings app
2. Select Language & text
3. Switch on word suggestions
4. Close the Settings app
5. Open the Messaging app
6. Type in "Mary had a little lamb"
7. Without hitting space at the end hit send
8. Now start to type in a new message and lamb will appear in front.
9. Repeat step 6 but add a space to the end.

Related branches

Changed in ubuntu-keyboard:
status: New → Confirmed
Bill Filler (bfiller) on 2014-01-22
Changed in ubuntu-keyboard:
importance: Undecided → High
assignee: nobody → Bill Filler (bfiller)
Changed in ubuntu-keyboard (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Bill Filler (bfiller)
Łukasz Zemczak (sil2100) wrote :

Are you working on this right now Bill? I can try looking into it.

Changed in ubuntu-keyboard:
assignee: Bill Filler (bfiller) → Łukasz Zemczak (sil2100)
Changed in ubuntu-keyboard (Ubuntu):
assignee: Bill Filler (bfiller) → Łukasz Zemczak (sil2100)
Changed in messaging-app (Ubuntu):
status: New → In Progress
Changed in messaging-app:
status: New → In Progress
Changed in messaging-app (Ubuntu):
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in messaging-app:
assignee: nobody → Łukasz Zemczak (sil2100)
Łukasz Zemczak (sil2100) wrote :

So, fixing this in ubuntu-keyboard is a bit more complicated and problematic - and would have a lot implications. The very design of pre-edit (as with word propositions) is not to commit the string to the entry field until it's finished. We would have to change this rule and actually commit all the time and then try to 'edit' the text field when in pre-edit, which seems strange.

I prepared a fix for messaging-app instead that flushes the pre-edit before sending the SMS. Seems a better, less invasive approach.

Changed in ubuntu-keyboard (Ubuntu):
status: Confirmed → Won't Fix
Changed in ubuntu-keyboard:
status: Confirmed → Won't Fix
Bill Filler (bfiller) on 2014-03-12
Changed in ubuntu-keyboard:
status: Won't Fix → In Progress
Changed in ubuntu-keyboard (Ubuntu):
status: Won't Fix → In Progress
Launchpad Janitor (janitor) wrote :

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

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

  [ Bill Filler ]
  * clear the preedit and word candidates when the focused editor
    changes by implementing reset() in the plugin (LP: #1271494)

  [ Łukasz 'sil2100' Zemczak ]
  * clear the preedit and word candidates when the focused editor
    changes by implementing reset() in the plugin (LP: #1271494)
  * Fix auto-capitalization after a newline. This adds checks for
    autocapitalization for enter/return key-presses and additional
    autocap case characters for western languages. (LP: #1272818)
 -- Ubuntu daily release <email address hidden> Tue, 18 Mar 2014 14:42:28 +0000

Changed in ubuntu-keyboard (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-keyboard:
status: In Progress → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package messaging-app - 0.1+14.04.20140327-0ubuntu1

---------------
messaging-app (0.1+14.04.20140327-0ubuntu1) trusty; urgency=low

  [ Thomi Richards ]
  * Fixed the python static errors and added flake8 to the test hooks.

  [ Leo Arias ]
  * When deleting messages in autopilot tests, leave the pointer pressed
    until the page switches to selection mode.
  * Fixed the python static errors and added flake8 to the test hooks.

  [ Łukasz 'sil2100' Zemczak ]
  * Make sure we flush the text that's being held in the OSK pre-edit
    (if any) before sending the message. Fixes LP: #1271494. (LP:
    #1271494)
 -- Ubuntu daily release <email address hidden> Thu, 27 Mar 2014 19:13:21 +0000

Changed in messaging-app (Ubuntu):
status: In Progress → Fix Released
Bill Filler (bfiller) on 2014-04-09
Changed in messaging-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers