Predictive text selection should enter a space after the word

Bug #1244227 reported by Pat McGowan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-keyboard (Ubuntu)
Fix Released
High
Łukasz Zemczak

Bug Description

User must add a space each time. This is a serious usability defect.

Related branches

Revision history for this message
Thomas Moenicke (thomas-moenicke) wrote :

We removed this extra space, as you always have to hit backspace before typing a period "." or "?" "!"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-keyboard (Ubuntu):
status: New → Confirmed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

The proper fix is to remove the space when punctuation is typed. This is what other OSKs do.

That is put the punctuation after the last character and retain the space for the next sentence to start. This can also key auto-capitalization for the start of the next sentence.

Rachel Liu (rachelliu)
no longer affects: ubuntu-keyboard
Changed in ubuntu-keyboard (Ubuntu):
assignee: Thomas Moenicke (thomas-moenicke) → Łukasz Zemczak (sil2100)
status: Confirmed → In Progress
Revision history for this message
Bill Filler (bfiller) wrote :

So the current behavior is this:

- With autocompletion off:
tapping on a word in the word ribbon will also add a space

- With autocompletion on:
pressing the space bar will insert the first word in the ribbon and insert a space

What I think needs to be fixed:
1) when you manually type an end of sentence punctation (".", "?", "!") we should remove any leading space in front of it.
2) with autocompletion on, double tapping the space bar should insert the first word in the ribbon (as it does now) and add a "." and space.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Oh, missed this comment. I made a bit of a different approach (although similar) in my branch. I checked how actually the android keyboard does it and did it similarly. I have used the preedit for that.

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

also to follow up on comment #4, we also need the following:
- with autocompletion on, typing any punctuation directly after a word results in the punctation getting removed when you press the spacebar as it autocompletes the first word found in the word ribbon. The punctuation should remain after the autocomplete.

tags: added: osk-usability
Bill Filler (bfiller)
tags: added: rtm14
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  [ Michael Sheldon ]
  * Disable magnification on the dial pad and number pad layouts, remove
    transparency from magnifier background. (LP: #1323855)
  * Place words back in to pre-edit if the user presses backspace to
    reach that word
  * Preserve user input as the first prediction candidate if it is spelt
    correctly (LP: #1313635)

  [ Łukasz 'sil2100' Zemczak ]
  * Changes related to fixing the preedit word completion, enhancing the
    usage with regards to adding whitespaces, separators. Enhanced
    autocaps. Added possibility to commit (word-completion) when using
    separators (., etc). Double-space with auto-correction enabled now
    results in a full-stop sign. Also, in auto-correct unnecessary
    whitespaces before separators are removed. Include unit-testing of
    some of the features. (LP: #1244227)
 -- Ubuntu daily release <email address hidden> Wed, 11 Jun 2014 15:30:55 +0000

Changed in ubuntu-keyboard (Ubuntu):
status: In Progress → 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.