Closed Bug 1739420 Opened 3 years ago Closed 3 years ago

Search dropdown in about:newtab is not dark in dark mode with browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar set to false

Categories

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

Firefox 94
defect

Tracking

()

VERIFIED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- verified

People

(Reporter: Fanolian+BMO, Assigned: onuohamiriam44, Mentored)

References

(Regression)

Details

(Keywords: regression, reproducible, Whiteboard: [lang=css])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
Build ID: 20211104094642

Steps to reproduce

  1. In a new profile, set browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar to false.
  2. Set Nightly theme to dark, or other Colorways themes that default to dark. (OS light/dark mode is irrelevant.)
  3. In about:newtab, type a in the search bar at the middle of the newtab page.

Actual result

The search suggestion dropdown is not dark. Please see the attached screenshot.

Expected result

The dropdown is dark.

Regression

Last good Nightly: 2021-09-16
First bad Nightly: 2021-09-17
pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4f9a1f599b43c1748edf0ce1b42a25b5f825db7e&tochange=186467330eb16b1e6ac6c7b2b3794f5b5cdc5341

autoland:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=462b8ab0d119d85c044a1332446b609786fcabc7&tochange=4d1d81ae7b7edc5668d65b6927d907feab8d0e21

This is regressed by bug 1727319.

Credit

This is originally reported by deviltrombone on Reddit.

Flags: needinfo?(htwyford)
Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1727319

browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar: false is not a supported configuration, so this isn't a priority. I'm marking this as a P5 since we could accept a community or mentored patch. The changes that removed dark mode support are here. A fix would need to re-add styles in _Search.scss using the variables available in _theme.scss. The styles were removed since the new colors introduced in that patch didn't produce sufficient contrast. There may be some other way to structure the variables that have sufficient contrast. Refer to the Firefox Home build docs for instructions on how to compile newtab CSS.

Mentor: htwyford
Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(htwyford)
Priority: -- → P5
Whiteboard: [lang=css]
Assignee: nobody → onuohamiriam44
Status: NEW → ASSIGNED
Attachment #9249398 - Attachment description: Bug 1739420 - Re-add styles in _Search.scss. r?harry → Bug 1739420 - Re-added styles in _Search.scss. r?harry

Hello Harry, please can you review the patch. Thank you..

Set release status flags based on info from the regressing bug 1727319

Hi Harry, I have made the changes, can you please review it again? Thank you.

Hello Harry, I have made the changes. Can you please review it again. Thank you.

I have removed the fill color. Can you check it out again? Thank you.

Hi Miriam, there's no need to post on Bugzilla when you make changes. I get emails from Phabricator when you update your patch there.

Pushed by htwyford@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ee7895d72dfd
Re-added styles in _Search.scss. r=harry
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

I have verified that the issue is no longer reproducible by following the steps provided in the description using Firefox Beta 96.0b2 (20211207185904) on Windows 10 x64, macOS 11.6, and Ubuntu Linux 20.04 x64.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: