Closed Bug 2009064 Opened 10 months ago Closed 7 months ago

Update urlbar icon as user types

Categories

(Firefox :: Address Bar, enhancement, P3)

enhancement

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox152 --- verified
firefox153 --- verified

People

(Reporter: daleharvey, Assigned: dong)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sng-scotchbonnet-followon][sng])

Attachments

(1 external file)

Currently with "browser.urlbar.unifiedSearchButton.always" the search mode switcher icon is always a magnifying glass.

We want the icon to change to indicate what will happen when the user presses enter, when the user has an autofilled url we want to show the globe / address icon. When a search will be performed we want the search engines favicon to be shown.

Expanding on the change here. So nothing should change if "browser.urlbar.unifiedSearchButton.always" has not been set, with that enabled ...

  1. The magnifying is shown by default, when the urlbar is unfocus and initially focus.
  2. When the user has typed something, we detect whether what they typed will visit a url or open a search, show the globe for url, or the engine icon for a search
Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → dong
Blocks: 2025847
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f1b06e5b39f8 https://hg.mozilla.org/integration/autoland/rev/a0539b2b4842 Revert "Bug 2009064 - Update urlbar icon as user types. r=daleharvey,urlbar-reviewers" for causing failures @SearchModeSwitcher.sys.mjs.

Backed out for causing failures @SearchModeSwitcher.sys.mjs.

Flags: needinfo?(dong)
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/64747ab89ab7 https://hg.mozilla.org/integration/autoland/rev/492dd9b41036 Revert "Bug 2009064 - Update urlbar icon as user types. r=daleharvey,urlbar-reviewers" for causing bc and TV failures at UrlbarIcons

Backed out for causing bc and TV failures at testUrlbarIcons
Backout Link
Push with failures
Failure Log
XPC
Failure line Hit MOZ_CRASH(Missing chrome or resource URLs: chrome://browser/content/null) at checkouts/gecko/netwerk/base/nsNetUtil.cpp:X
Missing chrome or resource URLs: chrome://browser/content/null [@ mozilla::net::CheckForBrokenChromeURL] | browser/components/urlbar/tests/browser/browser_testUrlbarIcons.js
TEST-UNEXPECTED-CRASH | xpcshell.toml:toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository_cache_locale.js | Test crashed

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
QA Whiteboard: [search][qa-triage-done-c152/b151][qa-ver-needed-c152/b151]
Blocks: 2001131
Duplicate of this bug: 1974062
Flags: needinfo?(dong)

Verified as fixed on Firefox Nightly 153.0a1 and Firefox 152.0b1 on Windows 10, Ubuntu 22, macOS 15.

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

Attachment

General

Creator:
Created:
Updated:
Size: