Automattic / Automattic/simplenote-android

Last Viewed Tab is not Always Shown from Widget

Open
#769 2 comments 0 reactions 0 assignees View on GitHub
[Type] Bug
Dominant language
Java
Stars
1.9k
Forks
318
Avg merge
15h 23m
Merged PRs (30d)
5

Description

### Expected
The last-viewed tab is shown when opening a note from the widget whether the tab is ***Edit*** or ***Preview***.

### Observed
The last-viewed tab is shown when opening a note from the widget when the tab is ***Preview***.

### Reproduced
0. Add widget to home screen for note with markdown enabled.
1. Tap widget from Step 0.
2. Notice note shows ***Edit*** tab.
3. Tap ***Preview*** tab.
4. Tap back arrow in app bar.
5. Tap widget from Step 0.
6. Notice note shows ***Preview*** tab.
7. Tap ***Edit*** tab.
8. Tap back arrow in app bar.
9. Tap widget from Step 0.
10. Notice note shows ***Preview*** tab.

Make|Model|Android Version|App Version
-|-|-|-
Google|Pixel 3|9.0|1.8.2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the widget flow on Android with a markdown-enabled note, following the listed Edit and Preview steps. Trace how the widget opens the note and how the last-viewed tab is retained across the app-bar back action. Done means reopening from the widget shows whichever tab was last viewed, including Edit.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.