← Back to team overview

touch-packages team mailing list archive

[Bug 1413121] Re: MainView is missing an API to dynamically set supported orientations

 

** Summary changed:

- MainView is missing an API to lock to landscape
+ MainView is missing an API to dynamically set supported orientations

** Description changed:

- The MainView offers an api to lock the app to portrait. For games
- however, it's common to require landscape mode. This is not supported
- and causes  most of the games to show a notice like "Please rotate the
- device" when in portrait mode which looks not very professional.
+ The MainView offered an api to lock the app to portrait. When
+ shellRotation landed, that was replaced by entries in the .desktop file
+ (X-Ubuntu-Supported-Orientations).
+ 
+ However, still this isn't really enough for some use cases. For example
+ an app might want to be locked to portrait while showing the main menu,
+ but when displaying certain content enable allowing rotation.
+ 
+ For that, there would be the need of an API, similar to the .desktop
+ entries, but changeable at runtime.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtubuntu in Ubuntu.
https://bugs.launchpad.net/bugs/1413121

Title:
  MainView is missing an API to dynamically set supported orientations

Status in QtMir:
  Confirmed
Status in qtubuntu:
  New
Status in qtmir package in Ubuntu:
  Confirmed
Status in qtubuntu package in Ubuntu:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  The MainView offered an api to lock the app to portrait. When
  shellRotation landed, that was replaced by entries in the .desktop
  file (X-Ubuntu-Supported-Orientations).

  However, still this isn't really enough for some use cases. For
  example an app might want to be locked to portrait while showing the
  main menu, but when displaying certain content enable allowing
  rotation.

  For that, there would be the need of an API, similar to the .desktop
  entries, but changeable at runtime.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1413121/+subscriptions


References