← Back to team overview

touch-packages team mailing list archive

[Bug 1346633] Re: [enhancement] Autopilot testing needs to know screen coordinates of widgets on screen

 

** Branch linked: lp:~raof/mir/the-least-dirty-thing

** Changed in: mir
    Milestone: None => 0.7.0

** Changed in: mir
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtubuntu 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:
  In Progress
Status in Qt integration with the Mir display server:
  New
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