Closed
Bug 1504854
Opened 7 years ago
Closed 7 years ago
Autofilled search shortcuts should show a single "Search with Engine" heuristic result in the popup
Categories
(Firefox :: Address Bar, defect, P1)
Firefox
Address Bar
Tracking
()
VERIFIED
FIXED
Firefox 65
People
(Reporter: adw, Assigned: adw)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
4.88 KB,
patch
|
jcristau
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This is something Verdi and I noticed today. If you type @g so that @google is autofilled, the popup shows results that match @g. It should show only the single "Search with Google" heuristic result, the way it does if you actually typed out @google yourself.
Assignee | ||
Comment 1•7 years ago
|
||
All we need to do is set `_searchEngineAliasMatch` with an empty query so that we don't try to add any more results. That hits the existing case where the user types out a full @ alias and we show only the "search with engine" heuristic result.
Assignee | ||
Comment 2•7 years ago
|
||
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/867aaeefa9ad
Autofilled search shortcuts should show a single "Search with Engine" heuristic result in the popup r=mak
Comment 4•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Assignee | ||
Comment 5•7 years ago
|
||
STR for QA:
1. Type "@google @google" in the urlbar and press the return key. Firefox should load a Google results page for "@google".
2. Type "@g" in the urlbar. The text in the urlbar should be autofilled to "@google " and the urlbar popup should open.
3. Verify that the only result in the popup is "Search with Google". There should *not* be a second result that shows the "@google" results page you just loaded. (There may be a "Tip: Get help finding things" tooltip at the top of the popup, which is not a result, and that's OK)
Flags: qe-verify+
Flags: in-testsuite+
Assignee | ||
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: Not a regression but improvement to search shortcuts in the awesomebar: see bug 1496772
User impact if declined: We've landed a group of other improvements to search shortcuts in 64 (see bug 1496772), and this bug will make a large improvement to that feature. Especially considering the low risk, the reward-to-risk ratio is high.
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: Please see comment 5
List of other uplifts needed: None
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Small patch, well understood, has automated tests. Also, a try push using mozilla-beta: https://treeherder.mozilla.org/#/jobs?repo=try&revision=63067f2ae02f5d2e6f91f60e08344d8d131101b3
String changes made/needed: None
Attachment #9024840 -
Flags: approval-mozilla-beta?
Comment 8•7 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Hi,
I have just tested this in the latest Nightly 65 build (id: 20181113220101). The issue is Verified Fixed.
Comment 9•7 years ago
|
||
Comment on attachment 9024840 [details] [diff] [review]
Beta/64 patch
search shortcuts improvement, verified in nightly; approved for 64.0b10
Attachment #9024840 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 10•7 years ago
|
||
bugherder uplift |
status-firefox64:
--- → fixed
Updated•7 years ago
|
Flags: qe-verify+
Comment 11•7 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Hi,
I have just tested this in the latest Beta 64.0b11 (id: 20181119162153). Marking the firefox64 flag as verified.
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•