wordpress-mobile / wordpress-mobile/WordPress-Android

[Jetpack] QuickPress widget error after log out

Open
#17,186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Jetpack
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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.