Skip to content

[BUG] - Search icon disappears from the toolbar #1338

Open
@Suyog-Bauskar

Description

@Suyog-Bauskar

Summary:

The search icon in the toolbar disappears after opening and closing the kebab menu.

Steps to Reproduce:

  1. Open the OneBusAway app.
  2. Click on the search icon in the toolbar.
  3. Open the kebab menu (three vertical dots).
  4. Return back to the main screen.
  5. Observe that the search icon is no longer visible in the toolbar.

Expected Behavior:

  • The search icon should remain visible in the toolbar after returning from the kebab menu.
  • The app should maintain a consistent UI state when navigating between menu options.

Observed Behavior:

  • After opening the kebab menu and returning to the main screen, the search icon disappears from the toolbar.
  • This makes it difficult for users to access the search functionality without restarting the activity.

Suggested Fix:

  • Ensure that the toolbar is correctly updated when returning from the kebab menu.
  • Verify if the search icon visibility is being incorrectly set to GONE or INVISIBLE.
  • Implement proper state handling to persist the toolbar's UI elements.

Impact:

  • Improves the overall user experience by ensuring consistent toolbar behavior.
  • Prevents confusion caused by the disappearing search icon.
  • Aligns with Android UI/UX guidelines for toolbar interactions.

Screenshots/Video:

Search_Icon_Disappears.mp4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions