Open Bug 1522501 Opened 8 months ago Updated 8 months ago

The pressed state of the Cookies subpanel buttons in the Control Centre with the dark theme has inconsistent colouring

Categories

(Firefox :: Site Identity and Permission Panels, defect, P3)

defect

Tracking

()

Tracking Status
firefox65 --- wontfix
firefox66 --- affected

People

(Reporter: ehsan, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image Screenshot

Please see the screenshot. The problem is that the icon and the "Cookies" label do change their colour but the "Blocking Tracking Cookies" label to the right doesn't. This causes a jarring effect when you press the button.

This seems specific to Ubuntu (and dark mode?), but we should still try to fix it.

Priority: -- → P3

It is specific to dark mode for sure. About it being specific to Ubuntu, I am not sure. I can confirm it doesn't reproduce on Windows, and that I have nothing Ubuntu-specific installed in my profile. This does reproduce on a local build with a new profile on Linux, FWIW.

FWIW the wrong color for the "Cookies" label comes from this CSS rules (the :hover:active pseudo-class):

https://searchfox.org/mozilla-central/rev/c035ee7d3a5cd6913e7143e1bce549ffb4a566ff/toolkit/themes/linux/global/toolbarbutton.css#44

whereas the colour of the "Blocking Tracking Cookies" label comes from https://searchfox.org/mozilla-central/rev/c035ee7d3a5cd6913e7143e1bce549ffb4a566ff/browser/themes/shared/controlcenter/panel.inc.css#685.

You need to log in before you can comment on or make changes to this bug.