Closed Bug 1664065 Opened 4 years ago Closed 4 years ago

Heartbeat: Notifications in dark theme are unreadable

Categories

(Firefox :: Normandy Client, defect, P1)

Firefox 81
x86_64
macOS
defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- fixed
firefox82 --- fixed

People

(Reporter: kardekani, Assigned: jaws)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Heartbeat notification

Heartbeat notifications have a white text on a light background that make them unreadable (see screenshot). This is not an issue in Firefox 79.

Steps to produce:

  1. Download and install the Normandy devtools extension
  2. Run one of the Heartbeat recipes
  3. See that the notification is not readable.

We have paused all Heartbeat messages until this is fixed, making it critical for quant UR.

Summary: Heartbeat: Notification in dark themes are unreadable → Heartbeat: Notifications in dark theme are unreadable
Attached image image.png

I can't reproduce this on Firefox 80 Release on Linux.

Component: Untriaged → Normandy Client

I experienced this in Nightly 82 on MacOS 10.14.6.

Severity: -- → S3
Has Regression Range: --- → no
QA Whiteboard: [qa-regression-triage]

We were able to track down the regression range, which pointed solidly at bug 1656494.

Has Regression Range: no → yes
QA Whiteboard: [qa-regression-triage]
Regressed by: 1656494

https://searchfox.org/mozilla-central/rev/eb9d5c97927aea75f0c8e38bbc5b5d288099e687/toolkit/components/normandy/skin/osx/Heartbeat.css#7 looks to be the actual source of the problem, though bug 1656494 made this an issue. Why does Heartbeat force a white background gradient?

Assignee: nobody → jaws
Status: NEW → ASSIGNED

Why does Heartbeat force a white background gradient?

The answer to this question is lost to time, probably a time before we had browser wide dark mode. We don't need this anymore, and can go with the standard styles now.

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

Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5e55c0eadc7e
Remove Heartbeat specific styling since Firefox now shows notification bars in the same dimensions that Heartbeat wanted. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

The patch landed in nightly and beta is affected.
:jaws, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(jaws)

Comment on attachment 9175026 [details]
Bug 1664065 - Remove Heartbeat specific styling since Firefox now shows notification bars in the same dimensions that Heartbeat wanted.

Beta/Release Uplift Approval Request

  • User impact if declined: Users will be unable to read the heartbeat notifications due to extremely low contrast.
  • 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): Removal of CSS that is no longer necessary now that all notification bars are larger.
  • String changes made/needed: none
Flags: needinfo?(jaws)
Attachment #9175026 - Flags: approval-mozilla-beta?

Comment on attachment 9175026 [details]
Bug 1664065 - Remove Heartbeat specific styling since Firefox now shows notification bars in the same dimensions that Heartbeat wanted.

Approved for 81.0rc1.

Attachment #9175026 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: