ponces/treble_aosp

UI for Tablet Not Optimized, Issue with Rotation / 3-Key Navbar

sk0rabu opened this issue · 1 comments

Info

Device: Xiaomi Pad 6 Pro
GSI version: aosp-arm64-ab-gapps-14.0-20231217
Vendor version:  N/A

Expected Behavior

Better global UI optimization for tablets (as in Treble PE Plus builds), 

including support for screen rotation, fixed navbar and so forth

Current Behavior

No native global landscape mode, lacking Back button on the 3-button navbar, 

`user_rotation` shell command does not stick, has to rely on auto-rotation

Possible Solution

Maybe replicate PEP build’s UI behavior?

Steps to Reproduce

Flash GSI on a tablet

Logs

Acknowledgements

  • [ x ] This is not a feature request.
  • [ x ] This issue is not a duplicate of an existing issue.
  • [ x ] This issue is not related with kernel or Magisk at all.
  • [ x ] I am not running a custom vendor on my device.
  • [ x ] This issue occurs with the latest available build.
  • [ x ] I have chosen an appropriate title.
  • [ x ] All requested information has been provided properly.
  • [ x ] The issue is solely related to this AOSP GSI.

Hi, first of all thanks for the new GSI. I came from your PEP builds after seeing it not being further maintained. On PEP my tablet was natively supported, and the UI was optimized for the tablet experience. I could manually rotate my screen horizontally and the changes would stick provided apps supported it. The stock 3-key navbar worked as expected (back, home, recents).

After switching to your AOSP Android 14 build the OS treats my tablet as a large phone. I cannot manually rotate the screen (the icon does not show up on the navbar). I switched to a third party launcher with screen rotation support to sort of work around it, but had to keep auto-rotate on. At the same time the 3-key navbar is kind of broken atm — there’s no back key (it only exists at the top left corner of an open window), and the navbar remains at the bottom of the screen in portrait mode. For example, if I am watching a full screen video in landscape mode (say, screens rotated by 90 degrees clockwise) and want to go to Home Screen, usually I’d swipe up from the bottom of the screen and the navbar will pop up. In this build there’s no horizontal navbar; swiping right from the left edge of screen won’t summon the (bottom navbar) either; without rotating my tablet, I’d have to swipe down from top of the screen (which brings the dropdown menu and status bar) AND THEN the (bottom navbar) will show up on the left side, which I can use to jump to the Home Screen.

I tried to search for the settings entries to no avail.

As an aside, is there any way I can get the “advanced power off menu”?

TIA and happy holidays.

Fixed by setting “minimum width” to 600 or higher in Dev Settings