Remove use of autopilot simulated keyboard when using OSK

Bug #1483668 reported by Richard Huddie on 2015-08-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Richard Huddie

Bug Description

It is now the case that if Unity8 detects a keyboard it will automatically hide the OSK and stop it from appearing. This includes the simulated keyboard used by Autopilot.

Now that textfield.write() supports using OSK, we should remove all instances of the autopilot simulated keyboard when the OSK is being used. The simulated keyboard is currently used to send Home and End key events to move the cursor to the start or end of a string, because these keys are not present on the OSK.

Some new helper methods in ubuntu_keyboard now allow the Home and End key events to be sent through the maliit-server without having to create a new simulated keyboard, which would cause Unity8 to hide the OSK. So the textfield helper methods should be updated to use the new helpers from ubuntu_keyboard and remove usage of the autopilot simulated keyboard when the OSK is being used.

Related branches

Richard Huddie (rhuddie) on 2015-08-11
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Richard Huddie (rhuddie)
Richard Huddie (rhuddie) on 2015-08-13
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → In Progress
importance: Undecided → High
Richard Huddie (rhuddie) on 2015-10-27
Changed in ubuntu-ui-toolkit (Ubuntu):
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