Closed Bug 1796698 Opened 2 years ago Closed 2 years ago

Firefox Translations notification banner elements do not line up

Categories

(Firefox :: Theme, defect)

Firefox 108
defect

Tracking

()

VERIFIED FIXED
108 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox106 --- unaffected
firefox107 --- unaffected
firefox108 --- verified

People

(Reporter: Fanolian+BMO, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression, reproducible)

Attachments

(2 files)

Steps to reproduce

  1. In a new profile, install Firefox Translations.
  2. Go to a page that can be translated. E.g. https://es.wikipedia.org/wiki/Wikipedia:Portada.
  3. See the notification banner.

Actual result

Elements do not line up.

p.s. Bug 1790616 fixed bug 1794819.

Flags: needinfo?(emilio)
Summary: Firefox Translation notification banner elements do not line up → Firefox Translations notification banner elements do not line up

Modern flexbox will honor it rather than stretching and effectively
centering the icon.

Assignee: nobody → emilio
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

There are various layout issues in this modal. The icon I can fix in mozilla-central at least. Is the extension going to move to mozilla-central in the short term? It seems to have a lot of issues and it's hard to fix. Alternatively, can it not use XUL?

Flags: needinfo?(emilio) → needinfo?(anatal)

Set release status flags based on info from the regressing bug 1790616

Alternatively, can it not use XUL?

If a privileged extension can open a popup programmatically [1][2], yes, with proper UI/UX support and given a Firefox front-end engineer develops it.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Popups
[2] However, you can't open the popup programmatically from an extension's JavaScript; it can be opened only in response to a user action.

I don't have an answer to your other questions though so will defer to who might.

Flags: needinfo?(sledru)
Flags: needinfo?(overholt)
Flags: needinfo?(anatal)

This is TBD. We will know more next week.

Flags: needinfo?(sledru)
Flags: needinfo?(overholt)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bac2a46dd313
Don't set explicit height on the notification image icon. r=dao
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Flags: qe-verify+

I've reproduced this issue using Firefox 108.0a1 (BuildId:20221020215126) on Windows 10 64bit

This issue is verified fixed (for the icon) using Firefox 108.0b3 (BuildId:20221117185908) on Windows 10 64bit, macOS 11 & Ubuntu 22.04.

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

Attachment

General

Creator:
Created:
Updated:
Size: