← Back to team overview

touch-packages team mailing list archive

[Bug 1483668] [NEW] Remove use of autopilot simulated keyboard when using OSK

 

Public bug reported:

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.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
     Assignee: Richard Huddie (rhuddie)
         Status: New

** Branch linked: lp:~canonical-platform-qa/ubuntu-ui-
toolkit/fix-1483668-osk-remove-simulated-keyboard

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Richard Huddie (rhuddie)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1483668

Title:
  Remove use of autopilot simulated keyboard when using OSK

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1483668/+subscriptions


Follow ups