SearchService's default engine has changed notification bar displays engine id rather than engine name
Categories
(Firefox :: Search, defect)
Tracking
()
People
(Reporter: mcheang, Assigned: mcheang)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr115+
|
Details | Review |
The notification bar for default engine change is displaying engine id rather than engine name. I think this is a regression due to refactoring I did sometime ago. See Bug 1786324.
| Assignee | ||
Comment 1•2 years ago
|
||
I've put up a patch so get the engine name before displaying the notification bar. I reference this._engines to retrieve the engine name because this.#addEngineToStore is called beforehand. That means the this._engines map is already populated with engines.
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
[Tracking Requested - why for this release]: This is a bug that we'd potentially like to include as a ride-along to a RC rebuild or dot release.
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
•
|
||
Comment on attachment 9345152 [details]
Bug 1844890 - Change default engine change notification bar to display engine names rather than engine ids. r=#search-reviewers,Standard8
Beta/Release Uplift Approval Request
- User impact if declined: When we make an update to the search engines, users might see an infobar displayed if their default engine has changed. Their default engine id is currently displayed rather than the engine name. Displaying the engine id would show a combination of the engine webextension id and the local or it could look even more confusing to the user when it's a non-application engine id. These ids would be a long string of alpha-numeric characters.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce:
- Set a engine as default (application provided engine or any open search engine)
- Remove that engine
- Restart Firefox
- Infobar should show up displaying old engine name that's removed, and the new engine name that's been replaced as default. No engine ids should be displayed, only the engine's name.
- Go through Step 1 to 4 again, but this time test the infobar should show up on 5 minutes idle rather than restart.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This change as been manually tested and there are automated tests, and there's no major changes aside from passing in the engine name rather than the engine id to the function.
- String changes made/needed:
- Is Android affected?: Yes
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Same as above. We don't want users to see a notification that is confusing if their default engine has changed.
- User impact if declined: Users will see engine ids, which looks confusing.
- Fix Landed on Version:
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Same as above.
Comment 6•2 years ago
|
||
| bugherder | ||
Comment 7•2 years ago
|
||
Confirming this issue as verified fixed on 117.0a1(20230726154100) using macOS 14, Ubuntu 22 and Windows 11x64.
Comment 8•2 years ago
|
||
Comment on attachment 9345152 [details]
Bug 1844890 - Change default engine change notification bar to display engine names rather than engine ids. r=#search-reviewers,Standard8
Approved for 116.0rc2
Comment 9•2 years ago
|
||
The patch landed in nightly and beta is affected.
:mcheang, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox116towontfix.
For more information, please visit BugBot documentation.
Comment 11•2 years ago
|
||
| uplift | ||
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Confirming this issue as verified fixed on 116.0(20230727152340) using macOS 14, Windows 11 and Ubuntu 22.
Comment 13•2 years ago
|
||
Comment on attachment 9345152 [details]
Bug 1844890 - Change default engine change notification bar to display engine names rather than engine ids. r=#search-reviewers,Standard8
Approved for 115.2esr.
Comment 14•2 years ago
|
||
| uplift | ||
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Confirming this issue as verified fixed on 115.2esr(20230821110938) using macOS 14, Windows11 and Ubuntu 22.
Description
•