Closed Bug 1958028 Opened 16 days ago Closed 3 days ago

Wallpapers do not override theme text color when personalization menu is closed

Categories

(Firefox :: New Tab Page, defect, P2)

defect

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox138 --- ?
firefox139 --- fixed

People

(Reporter: amy, Assigned: thecount)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt])

Attachments

(3 files)

Attached video screen-recording.mov

When selecting a light colored solid color wallpaper, initially the text is black but once the personalization menu is closed it becomes white. (See attached screen recording)

updateWallpaper() was recently moved out of render() in bug 1954759, which includes some code relating to text color contrast. I think this logic needs to be updated.

Severity: -- → S3
Priority: -- → P2
Assignee: nobody → achurchwell
Summary: Light solid color wallpapers use white text when personalization menu is closed → Solid color wallpapers do not override theme text color when personalization menu is closed
Attached image New_Tab_screenshot.png

I can reproduce this bug when closing the New Tab personalization menu, but also intermittently (maybe 10% of the time?) when just opening a New Tab with Ctrl+T. The New Tab text like the weather widget and "Thought-provoking stories" section title are dark text on my dark New Tab background color. Seems like a race condition between checking the New Tab's background color and deciding the text color.

Summary: Solid color wallpapers do not override theme text color when personalization menu is closed → Wallpapers do not override theme text color when personalization menu is closed

Cannot attach a video as it's too large, but this also affects dark image wallpapers, e.g. the very first option in the "Abstract" selection.

Assignee: achurchwell → mcrawford
Assignee: mcrawford → sdowne
Pushed by sdowne@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf7b66226af1 Newtab fixing wallpapers do not override theme text color when personalization menu is closed r=home-newtab-reviewers,amy
Status: NEW → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: