Closed Bug 2025906 Opened 6 months ago Closed 5 months ago

Clicking HNT background no longer blurs focus from HNT's search box

Categories

(Firefox :: Search, defect, P2)

defect

Tracking

()

VERIFIED FIXED
151 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox149 --- wontfix
firefox150 --- wontfix
firefox151 --- verified

People

(Reporter: cpeterson, Assigned: mbeier)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [sng][mcab-hnt])

Attachments

(2 files)

Attached image screenshot.png —

@ Moritz: this bug is a regression from your fix for bug 1986130. I bisected this regression to this pushlog:

https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=d0cf9c9b38029c1e47fa53c0f0658deda7c4aa12&tochange=86750f9c64a2cbefc415abce2adf2bce553bd135

Steps to reproduce

  1. Open the HNT.
  2. Click in the HNT's search box to focus it.
  3. Click the HNT page's background to blur focus from the search box.

Expected result

The HNT's search box should no longer have focus.

Actual result

The HNT's search box still has focus.

If you click focus to the address bar or another tab, the focus is removed from the HNT's search box.

Flags: needinfo?(mbeier)
Duplicate of this bug: 2025907
Blocks: mcab-hnt
Severity: -- → S3
Priority: -- → P2
Whiteboard: [sng]

Before bug 1986130, urlbar.addEventListener relayed the call to the input element. Now, urlbar is the container element itself, so it has its own addEventListener and other code needs to explicitly add listeners on the input field.

Assignee: nobody → mbeier
Status: NEW → ASSIGNED
Flags: needinfo?(mbeier)
Whiteboard: [sng] → [sng][mcab-hnt]
Pushed by mbeier@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/736a25ba7a9c https://hg.mozilla.org/integration/autoland/rev/6e672d7c2c37 Clicking HNT background no longer removes fake focus from HNT's search box. r=home-newtab-reviewers,urlbar-reviewers,mconley,jteow
Pushed by rperta@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d4943979e62a https://hg.mozilla.org/integration/autoland/rev/07b40dfc11ad Revert "Bug 2025906 - Clicking HNT background no longer removes fake focus from HNT's search box. r=home-newtab-reviewers,urlbar-reviewers,mconley,jteow" for causing bc failures at browser_suppressFocusBorder.js

Backed out for causing bc failures at browser_suppressFocusBorder.js
Backout link
Push with failures
Failure log(s)

Flags: needinfo?(mbeier)
Flags: needinfo?(mbeier)
Attachment #9562178 - Attachment description: Bug 2025906 - Clicking HNT background no longer removes fake focus from HNT's search box. r?#home-newtab-reviewers → Bug 2025906 - Clicking HNT background no longer removes fake focus from HNT's search box. r=home-newtab-reviewers,urlbar-reviewers,mconley,jteow
Pushed by mbeier@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/25cc04d903e2 https://hg.mozilla.org/integration/autoland/rev/392adaff4a12 Clicking HNT background no longer removes fake focus from HNT's search box. r=home-newtab-reviewers,urlbar-reviewers,mconley,jteow
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/938d3a7c0430 https://hg.mozilla.org/integration/autoland/rev/9c8c6e8ae209 Revert "Bug 2025906 - Clicking HNT background no longer removes fake focus from HNT's search box. r=home-newtab-reviewers,urlbar-reviewers,mconley,jteow" for causing bc failures @browser_suppressFocusBorder.js.

Backed out for causing bc failures @browser_suppressFocusBorder.js.

Flags: needinfo?(mbeier)
Pushed by mbeier@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4da8080cd684 https://hg.mozilla.org/integration/autoland/rev/e51ac39cbffe Clicking HNT background no longer removes fake focus from HNT's search box. r=home-newtab-reviewers,urlbar-reviewers,mconley,jteow
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
Flags: needinfo?(mbeier)
QA Whiteboard: [search] [qa-triage-done-c151/b150][qa-ver-needed-c151/b150]

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

For more information, please visit BugBot documentation.

Flags: needinfo?(mbeier)
Flags: needinfo?(mbeier)

I've reproduced the issue in Firefox Nightly 151.0a1 (2026-03-24) on macOS 15. The issue no longer reproduces in the latest Nightly 151.0a1 on macOS 15, Windows 10 and Ubuntu 22.04. Marking as Verified Fixed.

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

Attachment

General

Created:
Updated:
Size: