Autocomplete doesn't commit text to input field.

Bug #1305999 reported by Sam Bull
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-keyboard
Fix Released
Medium
Michael Sheldon

Bug Description

In many cases, the autocomplete feature causes the text to not be committed correctly. For example, entering a text message in the messaging app, and hitting the send button typically causes the last word to not be sent, as it's still in autocomplete mode.

This is a known bug, and it was suggested that the messaging app must force the keyboard to flush the text before sending. However, I've since noticed this problem throughout the OS, for example in the WiFi password prompt, clicking send causes it to think you entered nothing. I think this is present in the messaging indicator as well, and other apps.

Considering how widespread the problem is, and not being able to rely on app developers to handle this correctly, it is important that this is fixed in the keyboard/toolkit.

Running image 250.

Tags: rtm14
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This was fixed for messaging-app per bug #1271494
The likely solution for cases like the password field is to turn off the predictive text options on the field.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

 Łukasz can you comment?

Changed in ubuntu-keyboard:
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in ubuntu-keyboard:
status: New → Incomplete
Revision history for this message
Sam Bull (dreamsorcerer) wrote :

As a user, I expect anything typed into the text field to be used when the app uses the data (e.g. when clicking send).

As a developer, I expect that when I request the contents of the text field I get all the text in the text field.

At the moment, the developer expectation is not met, which results in not handling it correctly in the apps and thus the user expectation is not met either (in most cases).

So, a solution I would suggest is to implement it in the toolkit, so that whenever the code requests the text field data, it either automatically flushes the keyboard, or it includes the keyboard's buffer in the text returned.

The latter has advantages of allowing search-as-you-type and keyboard autocomplete at the same time. For example, using the unity search, it should search the internet as you are typing, but it may still be beneficial at times to autocomplete the word the user is typing. This situation cannot be handled at all with the current implementation.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Also seen in the friends app

Changed in ubuntu-keyboard:
assignee: Łukasz Zemczak (sil2100) → Michael Sheldon (michael-sheldon)
importance: Undecided → Medium
status: Incomplete → Confirmed
tags: added: rtm14
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.