Skip to content

Bottom tab bar hidden behind Android 3-button system navigation bar #12352

Closed

Description

@leehyeonhwa
Image

Description

On Android with 3-button navigation mode enabled, the Omi app's bottom tab bar (Home / Chat / Tasks / Apps) is rendered behind the system navigation bar. The tab icons are overlapped by the system back/home/recents buttons and are hard to see and tap.

Steps to reproduce

  1. Set Android system navigation to 3-button mode (Settings > Display > Navigation bar)
  2. Open the Omi app
  3. Look at the bottom tab bar

Expected

The bottom tab bar should be displayed above the system navigation bar (bottom safe-area inset applied).

Actual

The tab bar is drawn at the very bottom edge, under the system 3-button bar, so the two overlap.

Environment

  • Device: Samsung (One UI), 3-button navigation mode
  • App: Omi Android (latest Play Store version as of 2026-08-28)

Notes

Activity

  1. woahwhattheheck commented on Sep 6, 2026

    @woahwhattheheck
    Contributor

    I traced this one to a single missing bottom inset and would like to pick it up.

    Root cause

    BottomNavBar reserves no bottom safe-area inset:

    https://github.com/BasedHardware/omi/blob/main/app/lib/widgets/bottom_nav_bar.dart

    child: Container(
      width: double.infinity,
      height: 100,
      padding: const EdgeInsets.fromLTRB(20, 20, 20, 0),   // bottom: 0

    It is mounted straight into the home Scaffold.body Stack (app/lib/pages/home/page.dart), and there is no SafeArea anywhere on that path. app/android/app/build.gradle sets targetSdkVersion 36, so on Android 15+ edge-to-edge is enforced and the body extends under the system navigation bar.

    The container is 100 high with 20 top padding, so the tab row's tap targets and icons occupy roughly the bottom 80dp of the screen. A 3-button navigation bar is ~48dp and opaque, so it covers most of that band — which is why this reproduces in 3-button mode but is barely visible under gesture navigation, where the inset is only ~16-24dp.

    The two sibling bottom-anchored bars mounted in the same Stack — MergeActionBar and TaskSelectionActionBar — already wrap their content in SafeArea for exactly this reason. BottomNavBar is the one that omits it.

    Proposed fix

    Smallest source-correct change, no new widgets or behaviour:

    1. app/lib/widgets/bottom_nav_bar.dart — grow the container by MediaQuery.viewPaddingOf(context).bottom and add it as bottom padding. The 80dp content box is unchanged; the gradient still paints to the physical screen bottom, so nothing shows through behind a translucent system bar. On a device reporting a zero bottom inset the rendered layout is byte-identical to today.
      viewPadding rather than padding: the home Scaffold sets resizeToAvoidBottomInset: false, and padding.bottom collapses to zero while a keyboard is open, which would drop the bar back under the system bar.
    2. app/lib/pages/home/page.dart — the home-tab chat bar is Positioned(bottom: 78) in the same Stack, anchored against the nav row. Same inset added so the existing spacing between the two is preserved rather than colliding once the nav row lifts.
    3. app/test/widgets/bottom_nav_bar_test.dart — regression test that would have caught this: assert the tab icons sit clear of the system navigation bar band, and that the row lifts by exactly the reported inset.

    On funding

    Per the contribution guide's bounty-suggestion route — @josancamon19 @kodjima33 — would you fund and accept this at USD 100? USD 100 is my proposed compensation amount; sponsor acceptance and allocation of that amount remain unconfirmed.

    The existing USD 100 compensation proposal and original contributor identity are preserved. The claim correction below supersedes the earlier open-ended offer to change the amount or drop the work.

    Claim correction (2026-10-09): My contribution/payment claim remains ACTIVE. I demand payment of the existing proposed USD 100 compensation for my contribution. Please provide the review outcome, any specific remaining acceptance or registration requirement, and the payment date. Any assignment dispute or closed issue/PR status leaves this payment demand active. Recipient: Bryce / Token Junkie Labs, @woahwhattheheck. I will provide verified receiving details through the project's official payment channel. No waiver, withdrawal, transfer, split, or reduction of my claim is authorized.

  2. moved this from Someday to In progress in omi TODO / bountieson Sep 6, 2026
  3. added a commit that references this issue on Sep 7, 2026
    716942c
  4. moved this from In progress to In review in omi TODO / bountieson Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions