If I set both navbar heights to 0 and reboot everything seems fine, until I go into landscape then back to portrait, the navbar comes back in portrait (it still remains hidden in landscape)
Edxposed 4.5.5 sandhook
Gravity Box V10 beta-1
While ik custom rom support isn't guaranteed, LOS17 codebase at the moment is very close to AOSP and they've yet to add any navbar customization
Also the reason for me to set navbar heights to 0 instead of disabling the navbar outright is that the back gesture of Q relies on the navbar being enabled while the bottom swipe gestures don't need a navbar to work
Regarding navbar 0 dimensions. Hard to tell as I can't reproduce on OP7Pro.
This feature overrides framework config values so it is quite mystery to me that different values could be read from config after orientation change.
Resource config value replacement happens no matter what orientation, and always when config values are referenced.
Also, when your device has vertical navbar in ladnscape, you must set "Navigation bar width" to 0 instead of landscape height.
Edit: also try what kind of results you get when activating Expanded desktop using "Hide navigation bar" mode.
(Expanded desktop mode can be set in Display tweaks. Expanded desktop mode can be activated either from the power menu or using QS tile
Current Expanded desktop state is persisted across reboots).