Update urlbar icon as user types
Categories
(Firefox :: Address Bar, enhancement, P3)
Tracking
()
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 ...
- The magnifying is shown by default, when the urlbar is unfocus and initially focus.
- 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
Updated•10 months ago
|
| Reporter | ||
Updated•10 months ago
|
Comment 4•7 months ago
|
||
Backed out for causing failures @SearchModeSwitcher.sys.mjs.
Comment 7•7 months ago
•
|
||
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
Updated•7 months ago
|
Comment 11•6 months ago
|
||
Verified as fixed on Firefox Nightly 153.0a1 and Firefox 152.0b1 on Windows 10, Ubuntu 22, macOS 15.
Description
•