Entering search mode for an engine with no suggestions opens an empty results panel
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox156 | --- | unaffected |
| firefox157 | --- | wontfix |
| firefox158 | --- | verified |
| firefox159 | --- | verified |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [sng][mcab-hnt-followon])
Attachments
(2 external files)
Open the search mode switcher in the address bar or the new tab search bar and pick an engine that offers no suggestions for an empty query, e.g. Ecosia, or press its first letter. The results panel opens with no rows, showing only its border and shadow.
UrlbarView.onQueryFinished closes the view when a query returns nothing, except in search mode, where it keeps the view open so the one-off buttons stay reachable. With the search mode switcher there are no one-off buttons, so nothing fills the panel.
Bug 2073612 covers the panel staying open after its last result is removed; this is the panel opening empty in the first place.
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
promiseSearchComplete no longer waits for the view to open, since a query without results now leaves it closed.
Updated•2 months ago
|
Updated•2 months ago
|
Backed out for causing bc failures @ browser_searchmode.js
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 8•2 months ago
|
||
Backed out for causing bc failures @ browser_search_history.js, browser_search_history_from_history_panel.js
Comment 10•2 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: see https://bugzilla.mozilla.org/show_bug.cgi?id=2074950#c0
- Code covered by automated testing?: yes
- Fix verified in Nightly?: no
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: steps in https://bugzilla.mozilla.org/show_bug.cgi?id=2074950#c0 but this is covered by tests
- Risk associated with taking this patch: low
- Explanation of risk level: extensive test coverage
- String changes made/needed?: none
- Is Android affected?: no
| Assignee | ||
Comment 11•2 months ago
|
||
promiseSearchComplete no longer waits for the view to open, since a query without results now leaves it closed.
UrlbarSearchOneOffs now invalidates its cache when the scotchBonnet one-off prefs change, since willHide() depends on them.
Original Revision: https://phabricator.services.mozilla.com/D327663
Comment 12•2 months ago
|
||
| bugherder | ||
Comment 13•2 months ago
|
||
Authored by https://github.com/daogottwald
https://github.com/mozilla/enterprise-firefox/commit/d8bb93a1c9c257e90131500c93b903b989483ace
[enterprise-main] Bug 2073838 - Keep the urlbar view closed when a search mode query has no results and no one-offs to show. r=daleharvey
(via GitHub webhook, authenticated as shared-secret)
| Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 14•2 months ago
|
||
| uplift | ||
Updated•2 months ago
|
Comment 15•2 months ago
|
||
Reproduced the described behaviour in Nightly 158.0a1 2026-09-19.
The issue no longer occurs in latest 159.0a1 Nightly across Win 11, macOS 15 and Ubuntu 24.
Please note that with this change, the address bar is not enlarged anymore when opening search mode (as per Nova design).
Comment 16•2 months ago
|
||
Verified fixed on Firefox 158 beta 1 under macOS 15, Win 11 and Ubuntu 24.
Updated•1 month ago
|
Updated•1 month ago
|
Description
•