← Back to team overview

touch-packages team mailing list archive

[Bug 1379777] Re: [Dash] Allow applications to specify the orientations supported

 

For iteration 1, the SDK team team agreed that setting the supported
orientation in a desktop file hint is sufficient. Should we need more
granularity, we can create an API for applications to set it themselves.
But the lack of an existing API in Qt's QScreen class means that API
would be custom to the UITK.

Awaiting UX decision

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

Title:
  [Dash] Allow applications to specify the orientations supported

Status in Qt integration with the Mir display server:
  New
Status in Ubuntu UI Toolkit:
  Triaged
Status in Ubuntu UX bugs:
  Triaged
Status in “unity8” package in Ubuntu:
  Confirmed

Bug description:
  Currently unity8 shell has a partial implementation of orientation
  support. It trusts applications to rotate their own contents, if they
  want to. The shell doesn't reposition the panel (at the top) though,
  so a landscape app still has a portrait panel on the side.

  For proper orientation support in the shell, shell needs to know if
  the application wants to rotate its contents or not. To animate
  correctly, we really need shell to be responsible for rotating the app
  surface, not the app itself.

  Therefore an application needs to tell shell what orientations it
  supports, so shell can respect its wishes.

  A hint in the desktop file may be sufficient.

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


References