wordpress-mobile / wordpress-mobile/WordPress-Android
[Jetpack] QuickPress widget error after log out
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
The login screen opens. This is what happens when we add the QuickPress widget and tap on it using a fresh install that have never logged in.
Actual behavior
The Toast “An error occurred when accessing this blog” is shown. A few times it seemed that a screen was being opened and closed real quick (as if it was crashing).
Steps to reproduce the behavior
1 - Install the app;
2 - Log in;
3 - Add a QuickPress widget to the launcher app (it's called "Select blog for QuickPress shortcut");
4 - Log out;
5 - Tap on the QuickPress widget added to launcher.
Tested on SM-A115M/DS, Android 11, JPAndroid 20.7-rc-4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the QuickPress widget flow on Android: install the app, log in, add the “Select blog for QuickPress shortcut” widget, log out, and tap it. Trace the widget entry point and logout state handling; done means tapping the widget opens the login screen without showing the blog-access error or briefly closing a screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100