Closed Bug 1630327 Opened 5 years ago Closed 4 years ago

List view in about:certificate not readable on dark theme

Categories

(Firefox :: Security, defect, P2)

defect

Tracking

()

VERIFIED FIXED
Firefox 79
Tracking Status
firefox77 --- wontfix
firefox78 --- verified
firefox79 --- verified

People

(Reporter: ntim, Assigned: kenrick95)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached image Screenshot (deleted) —

Honestly, common.css should just apply normally here... Shadow DOM style scoping doesn't look particularly helpful for the list items.

Component: Theme → Security

Wait is that how it looks for you in dark mode? On OSX everything is readable for me.

Type: task → enhancement
Flags: needinfo?(ntim.bugs)
Priority: -- → P2

Oh, nope, my setting didn't apply correctly, now I can see it. That's not ideal. Carolina, would you have time to try and fix this?

Flags: needinfo?(ntim.bugs) → needinfo?(carolina.jimenez.g)
Type: enhancement → defect
Summary: Support dark theme in about:certificate → List view in about:certificate not readable on dark theme

Hey Johann! Unfortunately I have not had much time these days, but I know someone who is starting their contributions with Firefox who could help with this! Is it a good bug for beginners? Thanks!

Flags: needinfo?(carolina.jimenez.g)

Maybe! I think the issue is that we're overwriting these colors from common.css here. Tim, can you recommend an alternate set of variables to use? :)

Thanks!

Flags: needinfo?(ntim.bugs)

(In reply to Johann Hofmann [:johannh] from comment #4)

Maybe! I think the issue is that we're overwriting these colors from common.css here. Tim, can you recommend an alternate set of variables to use? :)

Thanks!

Maybe:

  • box-background
  • box-background-hover
  • box-border-color

would work.

Flags: needinfo?(ntim.bugs)

Hello, I'm new here. I would like to work on this bug If nobody is working on it, yet.

Flags: needinfo?(jhofmann)
Flags: needinfo?(dao+bmo)

(In reply to Vanessa from comment #6)

Hello, I'm new here. I would like to work on this bug If nobody is working on it, yet.

Hi. Nobody is working on this yet. To expand on comment 5, Tim was referring to these CSS variables that can be used as colors:

var(--in-content-box-background)
var(--in-content-box-background-hover)
var(--in-content-box-border-color)

Let me know if you have further questions.

Flags: needinfo?(dao+bmo)

Thanks for picking this up!

Flags: needinfo?(jhofmann)
Severity: -- → S3

This bug is now on release. Vanessa are you still interested in fixing this?

Hi, if no one is still interested on fixing this, I would like to take it up. Thanks :)

Hey, thanks, feel free to submit a patch. Getting started documentation is here: https://firefox-source-docs.mozilla.org/setup/getting_set_up.html

Instructions for solving this particular bug should be in the previous comments, but please let me know if you have any questions.

Replaced the hardcoded background color and color to use CSS properties provided by theme so that the colors look right on dark theme

Assignee: nobody → kenrick95
Status: NEW → ASSIGNED

I do think this should be uplifted, some users have noticed it on release.

Attachment #9154581 - Attachment description: Bug 1630327 - Fix list view in about:certificate not readable on dark theme → Bug 1630327 - Fix unreadable list view in about:certificate on dark theme
Attachment #9154581 - Attachment description: Bug 1630327 - Fix unreadable list view in about:certificate on dark theme → Bug 1630327 - Fix unreadable list view in about:certificate on dark theme.
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6b68c80e9dec Fix unreadable list view in about:certificate on dark theme. r=ntim

Comment on attachment 9154581 [details]
Bug 1630327 - Fix unreadable list view in about:certificate on dark theme.

Beta/Release Uplift Approval Request

  • User impact if declined: See attachment 9140805 [details] , some release users have noticed this bug.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Go to about:certificate with the system dark mode enabled
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Straightforward CSS fix
  • String changes made/needed: no
Attachment #9154581 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79

Comment on attachment 9154581 [details]
Bug 1630327 - Fix unreadable list view in about:certificate on dark theme.

approved for 78.0b5

Attachment #9154581 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproduced the initial issue with an old Nightly build 77.0a1 (build id: 20200415215103) and Beta 78.0b4.
Verified - Fixed in latest Nightly build 79.0a1 (build id: 20200608213811) and Beta 78.0b5 (build id: 20200608141654) using Windows 10.

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

Created:
Updated:
Size: