A note to confirm this issue is affecting autopilot test automation on
tablet devices, where the shell runs in landscape mode, but the display
panel orientation is fixed portrait. When sending touch input co-
ordinates relative to the shell orientation they must be transformed to
the display orientation. But this requires knowledge of what the native
display orientation is for the device being tested.

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

Title:
  [enhancement] Autopilot testing needs to know screen coordinates of
  widgets on screen

Status in Autopilot:
  Won't Fix
Status in Mir:
  Fix Released
Status in QtMir:
  Confirmed
Status in mir package in Ubuntu:
  Fix Released
Status in qtubuntu package in Ubuntu:
  Fix Released

Bug description:
  On phablet devices, Autopilot needs to determine the absolute
  coordinates of any item on screen, in order to generate input events
  to interact with those items.

  Most toolkits give AP the ability to calculate the coordinates of an
  item inside the surface, i.e. relative to the surface top-left corner,
  and then obtain the position of the window from the display server
  (X11 usually) to calculate the absolute position.

  However Mir does not have an API to let its clients find the surface
  position relative to the screen. There is also a desire from the Mir
  team not to supply this information.

  We need to discuss how to solve this problem in a way everyone is
  happy

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot/+bug/1346633/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to