Setting automaticOrientation to false does not take any effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When the automaticOrient
MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"
// Note! applicationName needs to match the "name" field of the click manifest
application
/*
This property enables the application to change orientation
when the device is rotated. The default is false.
*/
automaticOr
width: units.gu(60)
height: units.gu(85)
Page {
title: i18n.tr("Memory Card")
Game {
}
}
}
Right now this doesn't have an effect as it's no longer the toolkit rotating the app but the shell (unity8). So pending bug 1484507 we may be able to make it functional again.
In the meantime you can specify the orientation in the .desktop file by adding X-Ubuntu- Supported- Orientations= portrait