nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

[Bug]: Bottom bar visible on search screen

Open MaxMichel2 opened this issue 8 months ago • 2 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Is there a StackOverflow question about this issue?

  • [x] I have searched StackOverflow

What happened?

When opening the app, if you click on the search button, the search screen opens with the keyboard by default.

If you close the keyboard, the bottom bar is still visible but has no tabs selected which seems to indicate that the bottom bar shouldn't be visible in the first place.

See the following screenshot:

Image

Relevant logcat output


Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

MaxMichel2 avatar Apr 02 '25 11:04 MaxMichel2

Hi @MaxMichel2 I agree on search click, bottom menu icon is not highlighted. But if remove bottom bar altogether then user will have to first go back to the main screen by pressing the back button and then navigate to other screens. User will not be able to move to other tabs directly from search screen. Do you want this behavior ? Or else other option can be we can keep the bottom bar and highlight the tab option from which we moved to search screen. And when we click on the respective tabs it should move to that screen. If we click on the same tab which is highlighted when search screen is visible then it should go back/show that screen. Right now on clicking same screen tab on search screen it does not navigate to that screen.

rupenms avatar Apr 03 '25 13:04 rupenms

I don't know if there is a better solution out of those 2 🤔 For me it's a matter of preference. I can see the advantage of keeping the bottom bar and having the correct tab selected but the argument that the search screen is independent of all the tabs and thus has no business being visible is also valid.

YouTube is a good example of the first behaviour (keeping the bottom bar and current tab selected), it's visible when you open the notifications from the TopAppBar from any tab.

I think the active repo contributors will be more helpful in defining the expected behaviour here

MaxMichel2 avatar Apr 03 '25 13:04 MaxMichel2