Page MenuHomePhabricator

Bottom Navbar doesn't seem to be remembering the tab in which the user left the app
Closed, ResolvedPublic

Description

Consider a situation in which a user leaves the app, with a tab other than the Explore tab in the bottom navbar, by using the Home button of his phone. He returns back to the app after using other applications. The app shows the tab in which the user left the app but the bottom navbar doesn't seem to be consistent with the tab shown by the app.

Screen shot

Screenshot_2017-04-03-09-14-13.png (800×480 px, 34 KB)

Steps to reproduce
Note : I guess it's a bit tricky to say steps that work for all devices but this is what I did.

  1. Open the app
  2. Tap on the History tab in the app's home page
  3. Tap the home button
  4. Open and use other apps like browsers for some time (to an extent so that the app is not completely in main memory, I guess! )
  5. Return back to the app

Expected results
Bottom Navbar shows the correct tab in which the app is currently in (History, in the above case)

Actual results
Bottom Navbar shows shows that the Explore section is currently active though the app shows a different tab (History, in the above case)

Environment observed
App version : 2.5.190-r-2017-02-24
Android version : Kitkat (4.4.4)
Device vendor : Samsung
Model : Galaxy J1 ace (SM-J110H)

Event Timeline

Change 347849 had a related patch set uploaded (by Dbrant):
[apps/android/wikipedia@master] Fix: Properly maintain selection state of bottom nav.

https://gerrit.wikimedia.org/r/347849

Change 347849 merged by jenkins-bot:
[apps/android/wikipedia@master] Fix: Properly maintain selection state of bottom nav.

https://gerrit.wikimedia.org/r/347849

Dbrant claimed this task.