Comment 0 for bug 1379777

Revision history for this message
Gerry Boland (gerboland) wrote : Allow applications to specify the orientations supported

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.