[mir] Need to expose geometry for autopilot consumption

Bug #1232054 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
platform-api
Invalid
Undecided
Gerry Boland
unity-mir
Fix Released
Critical
Gerry Boland

Bug Description

Minimal implementation for platform-api:

http://bazaar.launchpad.net/~autopilot/autopilot/trunk/view/head:/autopilot/display/_upa.py

We'd need to expose similar stuff from unity-mir and wrap in platform-api.

Michał Sawicz (saviq)
summary: - Need to expose geometry for autopilot consumption
+ [mir] Need to expose geometry for autopilot consumption
kevin gunn (kgunn72)
Changed in unity-mir:
milestone: none → phone-v1-freeze
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Hi - some more information about what we need:

at a minimum, we need the X and Y resolution of the screen.

If at all possible, making the existing ubuntu platform api bindings "just work" would be the best solution - it would require zero changes in autopilot. Second best would be a dbus API, on a well-defined dbus connection name that exposes the information we need.

Additional information that will come in useful in the future (probably not worth adding now though) includes screen position, additional screen information (relative location, rotation etc).

Finally, in the future we're likely to need more things like this from the shell (off the top of my head: input bindings (tracked in a separate bug), screen capture & video recording services, application API (essentially replacing BAMF)), so maybe there's some things you can do now to make this easier for yourself in the future?

Cheers,

Revision history for this message
Gerry Boland (gerboland) wrote :

Am updating platform-api so existing code just works.

Agreed on all those extra requirements, could you write those up somewhere so we can have a concrete list to consider in future?
Thanks
-G

Changed in unity-mir:
status: Triaged → In Progress
Changed in platform-api:
status: New → In Progress
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Gerry Boland (gerboland) wrote :

Change of plan: quick fix is adding a fixed list of screen resolutions to the UPA. A proper unity8 autopilot plugin will soon be made, making this redundant

Gerry Boland (gerboland)
Changed in platform-api:
status: In Progress → Invalid
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

I think this one landed

Changed in unity-mir:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.