Closed Bug 1533029 Opened 6 years ago Closed 5 years ago

The warning displayed when attempting to save an address is displayed on 2 rows with the default settings

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
mozilla76
Tracking Status
firefox-esr68 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- verified

People

(Reporter: danibodea, Assigned: gaurijove, Mentored)

Details

(Keywords: good-first-bug, regression)

Attachments

(2 files)

Note

  • When reaching the Add New Address modal (from browser Options, Privacy & Security, Forms Autofill section, Saved Addresses modal, Add... button is pressed), it can be observed that the warning "Form Autofill is currently available only for certain countries." is displayed on 2 rows.
  • I would like to suggest that the warning is displayed on the next row altogether. This way it will be displayed on a single row and it will be more easily read.

Affected versions

  • Nightly v67.0a1
  • Beta v66.0b13
  • Release v65.0.2

Affected platforms

  • Windows 10
  • Ubuntu 18.04 LTS

Prerequisites

  1. Go to about:config and give pref "browser.search.region" value "US".
  2. Go to about:config and give pref "extensions.formautofill.available" value "on".
  3. Restart the browser for the changes to take effect.

Steps to reproduce

  1. Open browser.
  2. Open "about:preferences#privacy"
  3. Scroll to Forms & Autofill section.
  4. Click on the "Saved Addresses..." button.
  5. Click on "Add..." button.
  6. Observe the warning displayed at the right of the "Cancel" and "Save" buttons.

Expected result

  • The warning is displayed on a single row and it's easy to read.

Actual result

  • The warning message is displayed on 2 rows because it does not fit in the same row with the buttons (using default settings).

The warning message is displayed on 2 rows on Windows and Ubuntu with generic/default settings.

Type: enhancement → defect
Keywords: regression
Priority: -- → P3

I think this may have been a regression, but regardless, the #controls-container should be using flex-box to ensure the warning message wraps within its own column.

Mentor: sfoster
Keywords: good-first-bug

Hello, May I work on this?

Assignee: nobody → gaurijove
Status: NEW → ASSIGNED
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dd16b76a0c7b Add flex display for correct rendering of warning. r=sfoster
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Flags: qe-verify+

I have managed to reproduce the issue using Fx67.0a1 buildID: 20190306161300.
The issue is verified fixed using Fx77.0a1 and Fx76.0b4 on Windows 10 x64 and Ubuntu 18.04. The warning is now correctly aligned with the form, in a tiddier format.

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: