Closed Bug 1696132 Opened 3 years ago Closed 3 years ago

Form Autofill dropdown for saved addresses is barely visible on Ubuntu 20.04

Categories

(Toolkit :: Form Autofill, defect, P2)

Desktop
Linux
defect

Tracking

()

VERIFIED FIXED
94 Branch
Tracking Status
firefox87 --- wontfix
firefox88 --- wontfix
firefox94 --- verified

People

(Reporter: csasca, Assigned: tgiles)

References

Details

Attachments

(3 files)

Affected versions

  • Firefox 87.0b5
  • Firefox 88.0a1

Affected platforms

  • Ubuntu 20.04

Steps to reproduce

  1. Launch Firefox
  2. Have a saved address and access this test page
  3. Click on a form to trigger the address autofill

Expected result

  • The contents of the address autofill dropdown are visible

Actual result

  • The contents of the address autofill dropdown are barely visible, so do hovering over them

Regression range

  • I will see for a regression

Additional notes

  • The issue can be seen in the attachment
  • macOS and windows are not affected
  • The same behavior is reproducible with all the default themes
Has Regression Range: --- → no
Has STR: --- → yes
Attached image Clear Fields.png
QA Whiteboard: [qa-regression-triage]

This does not seem to be a regression, I can reproduced the issue way back on 59.0a1 (2017-12-01).

Has Regression Range: no → ---

I'm going to check and see if this is still valid since Proton has landed.

Assignee: nobody → tgiles

Not reproducible on Ubuntu 18.04 or 20.04 on Firefox 91.0.2. I'm guessing we can close this one out.

This is still reproducible under certain conditions, but I've personally have been unable to reproduce on my Ubuntu boxes. This may be fixed by Bug 1697092.

Priority: -- → P2
See Also: → 1697092

Given the "Light" and "Standard" system themes in Ubuntu 20.04, can't reproduce. However, using the "Dark" system, the "Form Autofill Options" footer text is very low contrast. The options from the popup in all three cases are visible though, unlike the screenshot in comment 1...not sure what bug fixed that particular issue though.

It looks like it's going to be pretty tricky to get the correct system colors for each OS as Windows' FieldText defaults to black while Ubuntu's switches from black to white depending if the system theme is light or dark. I haven't checked against Mac but I'm sure that will throw another wrench into all of this. I guess we're going to need to define some more variables for autocomplete-item-shared.css to use since we can't override xul selectors in the OS specific autocomplete-item.css.

Went with an alternative solution, using the prefers-color-scheme CSS media feature. Instead of trying to trying to get all the OS to line up perfectly, we will check if an Ubuntu Linux user is using a dark theme and then fix the form autofill footer's text color so that it is visible.

Status: NEW → ASSIGNED
See Also: → 1719371
Attachment #9240359 - Attachment description: Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on Ubuntu. r=dimi → Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on all platforms. r=#desktop-theme-reviewers

Linking some screenshots (since I can't easily attach multiple screenshots, not worried about link rot in this case) that correspond to diff 2 (id 484420) of the patch, since we might need some UX guidance if these changes are a bit too much.

Imgur link to collection of screenshots. They seem to have moved their order for whatever reason, not sure how to fix that so I'll list them out so it's easier for side by side comparison

Hey Sam, can you give your opinion on the screenshots in Comment #9? There is definitely a visual change depending on the platform, but I don't know if this would require UX's signoff. Appreciate the help!

Flags: needinfo?(sfoster)

I left comments in phabricator. I think we do need that distinction between the list item above and the footer below.

Flags: needinfo?(sfoster)
Attachment #9240359 - Attachment description: Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on all platforms. r=#desktop-theme-reviewers → WIP: Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on all platforms. r=#desktop-theme-reviewers
Attachment #9240359 - Attachment description: WIP: Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on all platforms. r=#desktop-theme-reviewers → Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on all platforms. r=#desktop-theme-reviewers
Pushed by tgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/92aee7fde9a1
Fix visibility of 'Form Autofill Options' footer on all platforms. r=sfoster,desktop-theme-reviewers,harry,mstange

Backed out for causing bc failures in browser_parsable_css

Backout link

Push with failures

Failure log

Flags: needinfo?(tgiles)

Trying to land again since I cleared up the test failures.

Flags: needinfo?(tgiles)
Pushed by tgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c59068542535
Fix visibility of 'Form Autofill Options' footer on all platforms. r=sfoster,desktop-theme-reviewers,harry,mstange
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
Flags: qe-verify+

I was able to reproduce the issue on Ubuntu20.4 (87.0b5) using Ubuntu system dark theme.
Verified as fixed using different themes on Win10/Ubuntu 20.4 (Beta 94.0b4 and Nightly 95.0a1).

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

Attachment

General

Created:
Updated:
Size: