Snapping and dragging of windows is part of window management unrelated to dbus.
So is there some context missing here? Is this feature request for test automation or general interactive usage? If the latter then it sounds like the bug title is an inappropriate solution description rather than a problem description. ** Changed in: canonical-devices-system-image Status: New => Incomplete ** Changed in: qtmir (Ubuntu) Status: New => Incomplete ** Changed in: unity8 (Ubuntu) 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: Incomplete Status in unity8 package in Ubuntu: Incomplete Bug description: To be effectively implement features like window snapping and dragging of windows, 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