wordpress-mobile / wordpress-mobile/WordPress-Android

Editor: History Shows Black Screen When Page Has Unsupported Block

Open
#15,779 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Medium [Type] Bug Gutenberg
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected

Pages with an unsupported block show a dialog or an error when viewing history. Ideally, history would still be viewable even with pages with an unsupported block.

Observed

Pages with an unsupported block show a black screen and crash when viewing history. On a real device, the black screen is shown indefinitely. On an emulated device, the black screen is shown momentarily then the Pages screen is shown. See the animation below for illustration.

Reproduced
  1. Tap My Site tab in bottom navigation.
  2. Tap Pages item under Publish section.
  3. Notice Pages screen is shown.
  4. Tap any page with unsupported block.
  5. Tap ellipsis/overflow action in app bar.
  6. Tap History item in menu.
  7. Tap any history item in list.
  8. Notice black screen and crash.
  9. Notice Pages screen is shown.
Tested

Google Pixel 5 on Android 11.0.0 with WordPress 18.9-rc-1
Google Pixel 2 on Android 10.0.0 with WordPress 18.9-rc-1

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 reported flow from the Pages screen through a page's History item, using the listed Android versions as context. Trace how a page containing an unsupported block is rendered in history; done means history no longer produces an indefinite black screen or crash and instead remains viewable or shows an error dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.