wordpress-mobile / wordpress-mobile/WordPress-Android

Text highlight color is not properly rendered in Reader

Open
#18,304 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

Text Highlight color in a post should be the same both Reader and Web.

Actual behavior

Reader ignores highlighted text color and shows only a bright yellow background color but the proper color is displayed on Web.

iOS ticket

Web
Reader
Code view
Steps to reproduce the behavior

Preparing:
Create a post (test post, from now on) with

  • Text without highlights
  • Text highlighted with any color other than Yellow
  • Text highlighted with White background color
  1. Posts screen > View button on the test post
  2. ✅ Notice the highlights are displayed as expected
  3. Reader > Tap the test post
  4. ❌ Notice that the highlighted text is all displayed with a bright yellow color
Tested on Samsung Galaxy Note 20, Android 12, JPAndroid 22.2-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 issue in Reader using a post with non-yellow and white highlights, then compare it with Posts > View and the Web result. Done means Reader preserves each highlight's color instead of rendering every highlight with a bright yellow background.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.