Open sebastinto opened 12 months ago
Further observations:
Allow home screen rotation
to ON
fixes the issueThis definitely strongly suggests Niagara as being the source of the issue.
Kind of weird that it's only affecting the navigation bar and not the entire UI too. The issue does not occur when using the 3-button navigation mode.
Describe the bug
When using
Activity.setRequestedOrientation()
in a third-party app to lock orientation in portrait or landscape orientation, the navigation gesture bar will ignore orientation changes when Niagara Launcher is the default launcher.In other words, when the app UI is in landscape mode but the navigation bar being positioned at the short right edge of the screen while it should be at the long bottom edge of the screen. This also breaks navigation gestures.
Switching back to the Pixel Launcher fixes the issue.
Steps to reproduce
Activity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER
orActivity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
Activity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE
Does the issue also occur with other 3rd-party launchers?
Problem doesn't occur with other launchers
Other 3rd-party launcher(s) tested
Pixel Launcher
Device name
Google Pixel 7 Pro
Android version
Android 13
Screenshots / Screen recordings
No response