touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #120900
[Bug 1346633] Re: [enhancement] Autopilot testing needs to know screen coordinates of widgets on screen
Note we've landed a hack to guess absolute positioning of surfaces for the phone. But a proper solution requires more thorough approach:
1. via the mir-client-debug API, a client can ask for the surface's absolute position
2. the server, if it is in debug mode, can reply with this information.
This requires patching qtubuntu, qtmir & unity8.
** Branch linked: lp:~gerboland/qtubuntu/enable-debug-mode
--
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