IMHO this really sounds like you want to start unity8 with with testability enabled so that autopilot can connect to unity8 and get all the things it needs from there...
Exporting those internals additionally on a d-bus interface that would be just used for testing seems a) redundant and b) short-sighted to me. I worry that after this autopilot would need more and more on this interface, while starting it with testability enabled would give you everything at once, just like it is intended for testing. ** Changed in: unity8 (Ubuntu) Status: New => Incomplete ** Changed in: qtmir (Ubuntu) Status: New => Invalid ** Changed in: canonical-devices-system-image Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1630340 Title: Need DBus API to get screen orientation Status in Canonical System Image: Incomplete Status in qtmir package in Ubuntu: Invalid Status in unity8 package in Ubuntu: Incomplete Bug description: To be effectively implement features like window snapping and dragging of windows in autopilot, we need to know the current height and width of the screen. mirout gives a hard-coded widthXheight, so if we know the orientation we can easily figure out what the real height and width are based on the rotation. ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: unity8 8.14+16.10.20160922-0ubuntu2 Uname: Linux 4.7.0-040700-generic x86_64 ApportVersion: 2.20.3-0ubuntu7 Architecture: amd64 CurrentDesktop: Unity:Unity7 Date: Tue Oct 4 22:53:42 2016 InstallationDate: Installed on 2016-09-21 (12 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160921) JournalErrors: Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions. SourcePackage: unity8 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1630340/+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