android / android/nowinandroid

[Bug]: Incorrect back navigation to For you

Open
#1,866 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
21.8k
Forks
4.6k
Avg merge
19h 20m
Merged PRs (30d)
2

Description

### 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?

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](https://github.com/user-attachments/assets/a48f8dd7-63d1-450e-817c-655712d71274)

### Relevant logcat output

```shell

```

### Code of Conduct

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

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.