Closed Bug 2068104 Opened 24 days ago Closed 23 days ago

New Tab search bar paints over the New Tab settings pane

Categories

(Firefox :: Address Bar, defect, P1)

defect

Tracking

()

VERIFIED FIXED
157 Branch
Tracking Status
firefox157 --- verified
firefox158 --- verified

People

(Reporter: dao, Assigned: dao)

References

Details

(Whiteboard: [sng][mcab-hnt])

Attachments

(1 file)

The search bar on about:newtab enters the top layer with showPopover() when it connects, and stays there for the element's lifetime. New Tab's settings pane is a <dialog> opened with showModal(), so it is in the top layer too. The top layer paints in the order elements enter it and z-index cannot reorder that, so whichever entered last wins.

Steps to reproduce:

  1. Open about:newtab and open the settings pane.
  2. Turn off widgets and recommended stories.

The layout change remounts the search bar, whose popover then enters the top layer after the pane's dialog, and the bar paints over the pane. The bar needs the top layer only while its results view is open.

A closed element keeps the box it had: it stays broken out, and only gives up the top layer.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0b69bf96e413 https://hg.mozilla.org/integration/autoland/rev/68ebda97afbb Enter the top layer only while an in-page address bar is open. r=mbeier,urlbar-reviewers
Status: ASSIGNED → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
QA Whiteboard: [search][qa-triage-done-c157/b156][qa-ver-needed-c157/b156]
Regressions: 2069291
Duplicate of this bug: 2067475

Reproduced the initial issue using Nightly 157.0a1 2026-08-28.
Verified as fixed on Firefox 157 beta 2 and latest Nightly 158.0a1, under Win 11 and macOS 15.

Status: RESOLVED → VERIFIED
QA Whiteboard: [search][qa-triage-done-c157/b156][qa-ver-needed-c157/b156] → [search][qa-triage-done-c157/b156][qa-ver-done-c157/b156]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: