Closed Bug 1951284 Opened 10 days ago Closed 7 days ago

Address bar is transparent when pasting text into new window

Categories

(Firefox :: Address Bar, defect, P3)

Firefox 138
x86_64
Linux
defect

Tracking

()

VERIFIED FIXED
138 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox136 --- wontfix
firefox137 --- verified
firefox138 --- verified

People

(Reporter: gregp, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached video bug.webm

Steps to reproduce:

  1. Open a new window with keyboard shortcut (Ctrl+N/Cmd+N)
  2. Quickly paste text with keyboard shortcut (Ctrl+V/Cmd+V)

Actual results:
Sometimes, the address bar is transparent

Expected results:
The address bar has a background color

:emilio, since you are the author of the regressor, bug 1927111, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Severity: -- → S3
Priority: -- → P3

hasAttribute("breakout") isn't the right check for "do we support
breakout", since we might be in the middle of recomputing the breakout
dimensions (which removes the attribute temporarily).

Use this.#allowBreakout instead.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

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

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d83af8f6e07f Fix a race condition in UrlbarInput.startLayoutExtend(). r=urlbar-reviewers,jteow
Status: ASSIGNED → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox137 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9469326 [details]
Bug 1951284 - Fix a race condition in UrlbarInput.startLayoutExtend(). r=#urlbar-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Comment 0
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): One liner.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9469326 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9469326 [details]
Bug 1951284 - Fix a race condition in UrlbarInput.startLayoutExtend(). r=#urlbar-reviewers

-> 137 beta 3, thanks.

Attachment #9469326 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Reproduced the issue described in comment 0 using an old Nightly build before the fix (2025-03-02), verified that using latest Nightly 138.0a1 and latest Firefox 137 beta build (from treeherder) this is indeed fixed across platforms (macOS 13.7, Ubuntu 22.04 and Windows 11).

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: