I'm looking forward to this feature. I have an which displays moving
text. It would be great if a user could decide if she wants the text
displayed in portrait or landscape regardless of phone orientation and
if that orientation is locked or not.

-- 
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 adjust preferred surface orientation at
  runtime

Status in Mir:
  Fix Released
Status in QtMir:
  Triaged
Status in mir package in Ubuntu:
  Fix Released
Status in qtmir package in Ubuntu:
  Confirmed

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

-- 
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

Reply via email to