Closed Bug 1545765 Opened 5 years ago Closed 5 years ago

The background color for the primary button on popupnotifications is no longer blue

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla68
Tracking Status
firefox66 --- unaffected
firefox67 --- unaffected
firefox68 --- verified

People

(Reporter: mcoman, Assigned: bgrins)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

[Affected versions]:

  • Firefox Nightly 68.0a1, Build ID 20190419094745

[Affected Platforms]:

  • All Windows
  • All Linux
  • All Mac

[Prerequisites]:

  • Have the "browser.newtabpage.activity-stream.asrouter.devtoolsEnabled" pref set to true in the "about:config" page.

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Navigate to the "about:newtab#asrouter" page and scroll down to the "FACEBOOK_CONTAINER_3" section.
  3. Click the "Show" button and click the "CFR Recommendation" button from the right part of the "Address Bar".
  4. Observe the background of the "Add Now" button.

[Expected result]:

  • The button's background is blue.

[Actual result]:

  • All the buttons from the bottom part of the CFR doorhanger have the same grey background.

[Regression window]:

  • Considering the fact that this issue is not reproducible with the Firefox Nightly version from 04/18/2019, using the "Mozregression" tool, I have managed to find a regression window:

Last good revision: 27157cc6395ef681545b5a8ae5f95fc584f38792
First bad revision: 223a8a0c4eed19547e6e843cfd265c728f7dc7c2
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=27157cc6395ef681545b5a8ae5f95fc584f38792&tochange=223a8a0c4eed19547e6e843cfd265c728f7dc7c2

[Notes]:

  • This issue is also reproducible with the "Pin This Tab" CFR button.
  • Attached a screen recording of the issue.

Hi Brian, could you please give us your opinion regarding this issue?

Flags: needinfo?(bgrinstead)

This looks like a popup notification issue that was most likely regressed by Bug 1528268. I'll look into this as soon as I address a more visible menu-related regression from the same push.

Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Flags: needinfo?(bgrinstead)
Regressed by: 1528268

Thank you, Brian!

This looks like a more general issue - I'm seeing it on the location prompt as well.

Component: Activity Streams: Newtab → XUL Widgets
Product: Firefox → Toolkit
Summary: The background color for the "Add Now" and "Pin This Tab" CFR buttons is no longer blue → The background color for the primary button on popupnotifications is no longer blue
Attached image location-prompt.png
Attached image before-change.png

So without the patch we were copying over the empty [buttonhighlight] attr on the host element onto the button.

This accidentally got dropped in Bug 1528268.

Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c9e14c54335a
Fix attribute inheritance for empty attribute values r=aswan
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68

I have verified that this issue is no longer reproducible with the latest Firefox Beta (68.0b4 Build ID - 20190523115432) and latest Firefox Nightly (69.0a1 Build ID - 20190523115432) installed, on Windows 10 x64, Arch Linux and Mac 10.14.5. Now, the background color for the primary button is blue.

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

Attachment

General

Created:
Updated:
Size: