Skip to content

Hiding the Shell NavBar on Android Sometimes Overlaps the Android Status Bar #34060

@david-maw

Description

@david-maw

Description

When the test program is initially run on Android it shows this:

Image

Which is the screen starting with Android status bar icons, then the page content. It's not entirely clear to me how the status bar background got to match the page background, but that's not the issue. If you wait 5 seconds, the initial page switches to another which does have a navbar, allowing you to switch back to the initial page, which shows like this:

Image

This time the page content is drawn behind the Android status bar icons (which I sort of expect, though it's not entirely clear to me how SafeArea interacts with Shell). This is a pretty minor problem for me, just confusing.

Equally confusing (but incidental) is the color of the status bar background on Page 1, I'd expected red again, oe maybe black or white, but this time it was purple.

Steps to Reproduce

  1. Download the repo, build and run it on Android (I used16.0 on a Pixel 7 emulator)
  2. Observe the initial page
  3. Wait 5 seconds, it will switch to Page 1.
  4. Navigate back to the initial page and note the chang.

Link to public reproduction project repository

https://github.com/david-maw/NavBar.git

Version with bug

10.0.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 16

Did you find any workaround?

No, but I didn't care since it's a minor problem.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-shellShell Navigation, Routes, Tabs, Flyoutplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions