Text field clear button does not work with first predicted word
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Cris Dywan |
Bug Description
ubuntu-
When entering text into a text field using OSK with predictive text enabled, it is not possible to clear the first word using the clear button.
Steps:
1) Load Ubuntu UI Toolkit Gallery
2) Select Text Field -> Standard
3) Type in a few characters using the OSK, so that the word in text field remains underlined and suggestions are displayed by OSK.
4) Press clear button in the text field.
Expected result:
The text in the text field should be cleared.
Actual result:
The clear button does not work and the text remains.
Note that if there are multiple words entered then the clear button will work as expected. This problem only happens if there is only 1 word that is being deleted.
Related branches
- ubuntu-sdk-build-bot: Needs Fixing (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/imports/Components/1.3/TextField.qml (+1/-1)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Hmm... that thing you see in the text field is not yet committed to the component, so clear button cannot clear it. I think we should check this with OSK to see whether we can invoke clearing of the prediction in it.