Closed Bug 1928550 Opened 4 months ago Closed 4 months ago

url bar length incorrect in popup window

Categories

(Firefox :: Address Bar, defect)

defect

Tracking

()

VERIFIED FIXED
134 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox132 --- unaffected
firefox133 --- verified
firefox134 + verified

People

(Reporter: git, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:134.0) Gecko/20100101 Firefox/134.0

Steps to reproduce:

Open a pop-up window in any website (tested with multiple websites). On Firefox Nightly 134.0a1

Actual results:

The URL text box in the address bar of the popup window has a fixed length, which is shorter than the horizontal width of the window.

If resizing the window's horizontal width to be smaller, the URL text box bar overlaps with other UI elements on the right side (i.e. the hamburger menu for Firefox settings).

Expected results:

The URL text box should have dynamically resized

The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Address Bar

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

: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.

Tracking for Fx134.
The regressor Bug 1927111 is a blocker for Fx133 and we'll need an uplift of that for beta.
However, only after the issue here has been investigated.

The bug is marked as tracked for firefox134 (nightly). However, the bug still isn't assigned.

:cbellini, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(cbellini)

The fix for the other regression will fix this too

Assignee: nobody → emilio

Actually not.

Flags: needinfo?(emilio)

This was a pre-existing issue that was only papered by chance.
this._toolbar is set before the early return for readonly urlbars, but
the ResizeObserver is only set up after it.

Be more explicit about when we allow breaking out of the container (and
effectively do it only for non-readonly urlbars).

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8443d818a62 Don't breakout on readonly urlbar. r=urlbar-reviewers,dao
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

Comment on attachment 9434946 [details]
Bug 1928550 - Don't breakout on readonly urlbar. r=#urlbar-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: needed if we want to uplift bug 1927111
  • 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: Open DevTools, run window.open(".", "", "popup=true")
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial-ish fix.
  • String changes made/needed: none
  • Is Android affected?: No
Attachment #9434946 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9434946 [details]
Bug 1928550 - Don't breakout on readonly urlbar. r=#urlbar-reviewers

Approved for 133.0b6

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

Reproducible on a 2024-10-31 Nightly build on macOS 14.
The issue seems to be partially fixed on the latest nightly build, the urlbar correctly resizes when maximising the pop-up window, however, if resizing the pop-up window width, the Hamburger Menu still overlaps over the urlbar, as described in Comment 0.
Should I open a new bug for this specific scenario? Thank you.

Flags: needinfo?(emilio)

Yes, that seems like a regression from bug 1921811.

Flags: needinfo?(emilio)
Flags: needinfo?(cbellini)

I filed bug 1929853 with a fix for that.

See Also: → 1929853

Thank you for the fast reply!
Verified as fixed on the latest Firefox Nightly 134.0a1 build on Windows 10, Ubuntu 22, macOS 14.
The fix has also been verified on Firefox 133.0b6(treeherder build) on Windows 10, Ubuntu 22, macOS 14.
Since the overlapping issue is being tracked in bug 1929853 and the pop-up window urlbar now correctly expands/resizes, will mark both 134 and 133 as verified.

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: