** 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1413121 Title: MainView is missing an API to dynamically set supported orientations To manage notifications about this bug go to: https://bugs.launchpad.net/qtmir/+bug/1413121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs