Seems mir has the necessary support with mir_surface_set_preferred_orientation, which confusingly doesn't do anything at the moment, as the shell isn't honouring it.
I'm currently providing orientation support in neverball and tuxracer by rotating the whole scene and touch input to the user preference, and locking to an arbitrary orientation using the desktop file parameter to prevent automatic rotation interfering with the gameplay. It'd be much better if the mir surface flag was honoured so the panel and gesture edges would also be rotated in order to maintain consistency with other applications. -- 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: [Orientation] Allow applications to specify the orientations supported Status in QtMir: In Progress Status in Ubuntu UX: Triaged Status in ubuntu-ui-toolkit package in Ubuntu: Triaged Status in unity8 package in Ubuntu: Incomplete 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

