M10 tablet does not respect the orientation specified in .desktop file
Bug #1573153 reported by
Michal Predotka
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Michał Sawicz | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Nick Dedekind |
Bug Description
Developers can restrict apps orientation by using
X-Ubuntu-
in .desktop file. Unfortunately it does not work in the new M10 tablet. You can see such app both in portrait and in landscape.
Related branches
lp://staging/~nick-dedekind/unity8/default-stage
- Michael Zanetti (community): Approve
- Unity8 CI Bot: Pending (continuous-integration) requested
-
Diff: 136 lines (+38/-11)6 files modifiedplugins/Utils/windowstatestorage.cpp (+2/-2)
plugins/Utils/windowstatestorage.h (+1/-1)
qml/Stages/TabletStage.qml (+8/-3)
tests/mocks/Utils/windowstatestorage.cpp (+2/-2)
tests/mocks/Utils/windowstatestorage.h (+1/-1)
tests/qmltests/Stages/tst_TabletStage.qml (+24/-2)
Changed in canonical-devices-system-image: | |
milestone: | 11 → 12 |
Changed in canonical-devices-system-image: | |
status: | Triaged → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Confirmed, I believe this happened with the new side stage implementation.
I'd argue we should force portrait apps into the side stage. As you rotate the device into portrait, they would fill the screen.
Similarly, those whose maxWidth/Height suggests they should be in side stage should probably go in there - not sure if we lock the device into landscape then, or pillar/letter-box the app at its maximum size?