Closed Bug 1708334 Opened 3 years ago Closed 3 years ago

Find bar has dark text on dark background on third party theme

Categories

(Toolkit :: Find Toolbar, defect, P2)

Firefox 90
defect

Tracking

()

VERIFIED FIXED
90 Branch
Tracking Status
firefox89 --- verified
firefox90 --- verified

People

(Reporter: mmis1000, Assigned: emmamalysz)

References

Details

(Whiteboard: [foxfooding][community] [proton-foxfooding] [priority:2b] [proton-uplift])

Attachments

(5 files)

Attached image FindBar.jpg

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

  1. enable mac system dark mode (?)
  2. install this theme https://addons.mozilla.org/zh-TW/firefox/addon/miku-hatsune-omega-clean/
  3. cmd + f to search text in some page

Actual results:

You have black text on black background in find bar, make it completely unusable.

Expected results:

The find bar should have a light background (as it used to be).
Or the text should be forced to be white (so you can see text).

The Bugbug bot thinks this bug should belong to the 'Toolkit::Find Toolbar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Find Toolbar
Product: Firefox → Toolkit

Yes, I have this too, on the "Firefox Quantum Nightly" theme: https://addons.mozilla.org/en-US/firefox/addon/firefox-quantum-nightly/

seems caused by a missing line in osx theme

The

  --toolbar-non-lwt-bgcolor: -moz-dialog;

did not exist for some reason

https://hg.mozilla.org/mozilla-central/file/tip/browser/themes/windows/browser.css#l13
https://hg.mozilla.org/mozilla-central/file/tip/browser/themes/osx/browser.css#l11

Emma has updated the findbar theme(s) most recently; Emma, do you have a chance perhaps to take a look at this?

Flags: needinfo?(emalysz)
Whiteboard: [foxfooding][community] [proton-foxfooding]
Assignee: nobody → emalysz
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(emalysz)
Attachment #9220399 - Attachment description: Bug 1708334, specify toolbar-non-lwt-bgcolor for macos lwthemes → Bug 1708334, specify findbar fallback for macos
Attachment #9220399 - Attachment description: Bug 1708334, specify findbar fallback for macos → Bug 1708334, specify toolba-non-lwt-bgcolor for macos
Priority: -- → P2
Whiteboard: [foxfooding][community] [proton-foxfooding] → [foxfooding][community] [proton-foxfooding] [priority:2b]
Attachment #9220399 - Attachment description: Bug 1708334, specify toolba-non-lwt-bgcolor for macos → Bug 1708334, specify toolbar-non-lwt-bgcolor for macos
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/59f2374b032c
specify toolbar-non-lwt-bgcolor for macos r=jaws
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

This is a small CSS change, request for uplift.

Comment on attachment 9220399 [details]
Bug 1708334, specify toolbar-non-lwt-bgcolor for macos

Beta/Release Uplift Approval Request

  • User impact if declined: 1708334
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Simple css fix
  • String changes made/needed: n/a
Attachment #9220399 - Flags: approval-mozilla-beta?

Comment on attachment 9220399 [details]
Bug 1708334, specify toolbar-non-lwt-bgcolor for macos

Low risk MR1 fix, approved for 89 beta 10, thanks.

Attachment #9220399 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Whiteboard: [foxfooding][community] [proton-foxfooding] [priority:2b] → [foxfooding][community] [proton-foxfooding] [priority:2b] [proton-uplift]
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Verified as fixed on macOS 10.14 and on macOS 10.15.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: