touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #46133
[Bug 1382209] Re: [Enhancement] Add an API to lock surface orientation
mir (0.10.0+15.04.20150107.2-0ubuntu1) vivid; urgency=medium
** Changed in: mir (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: mir (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1382209
Title:
[Enhancement] Add an API to lock surface orientation
Status in Mir:
Fix Released
Status in mir package in Ubuntu:
Fix Released
Bug description:
Sometimes, applications are written to take advantage of the entire surface of screen. So they need a way to tell MIR, the orientation they want for drawing themselves. This can be portrait for some, landscape for others, or even combinations.
Without this feature, portrait application get distorted when running in a landscape oriented device.
So, it would be nice to have an API, in MIR client, to precisely lock
the orientation of the MirSurface used for drawing.
My use case is a full-screen game, that require always Portrait
Orientation. Another is a full-screen game that requires always
Landscape.
Better (future):
- allow this even for non full-screen applications
- allow combination like Portait+PortraitUpsideDown, or LandscapeLeft+LandscapeRight
- allow to change the orientation when the application run (so not only when creating/requesting the surface).
Remarks :
- touch event may need to be translated into the correct coordinates system!
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1382209/+subscriptions