[Bug]: Incorrect back navigation to For you

Open
#1,866 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #2072 by @Amir-yazdanmanesh — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile

Research direction

No file or test is named. Reproduce the flow from the For you tab, open a topic, switch tabs, and press the device back button; then trace the back-navigation and tab-state handling. Done means returning to For you preserves the selected topic screen rather than showing the landing screen.

Written by the indexing model from the issue text.

Description

bug
Is there an existing issue for this?
  • I have searched the existing issues
Is there a StackOverflow question about this issue?
  • I have searched StackOverflow
What happened?

Back navigation always returns to For you top level screen.

Steps to reproduce:

  • Navigate to For you
  • Tap on a topic to see the topic screen
  • Navigate to a different tab
  • Tap device back button

Expected:

  • For you tab selected with the Topic screen

Actual:

  • For you tab with the landing screen

Notes: After returning to the For you tab, tap on the For you tab takes you to the Topic screen.

Image

Relevant logcat output

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
Kotlin
Stars
22.1k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/nowinandroid

All issues in android/nowinandroid

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.