Need DBus API to get screen orientation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Incomplete
|
Undecided
|
Unassigned | ||
qtmir (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
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.
Uname: Linux 4.7.0-040700-
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=
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)
Changed in canonical-devices-system-image: | |
status: | Incomplete → New |
Changed in qtmir (Ubuntu): | |
status: | Incomplete → New |
Changed in unity8 (Ubuntu): | |
status: | Incomplete → New |
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.