Show the Quick/Firefox Suggest row at the end of the bookmarks/history group, not last
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
People
(Reporter: adw, Assigned: adw)
References
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
The QS result has a suggestedIndex of -1, which means it always comes last. That was what we wanted before the Firefox Suggest label, but now that we have that, if you choose to show bookmarks/history before search suggestions, we show a Firefox Suggest label first and then an <engine> suggestions label, and then the QS at the end gets another Firefox Suggest label. The QS result should be in the bookmarks/history bucket instead.
| Assignee | ||
Comment 1•4 years ago
|
||
This might be a little hacky because it builds special handling of quick suggest
results into the muxer instead of using some general solution. I have ideas for
general solutions, but they would all be larger than this patch, and we want to
uplift this to 89.
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 4•4 years ago
|
||
STR
- Enable quick suggest
- Open about:preferences#search and uncheck "Show search suggestions ahead of browsing history in address bar results"
- Type something in the urlbar that shows both a quick suggest result and search suggestions, for example "amazon"
- Verify that the Firefox Suggest section appears before the Google suggestions section
- Verify that the quick suggest result appears last in the Firefox Suggest section
| Assignee | ||
Comment 5•4 years ago
|
||
Hi Cosmin, we'd like to uplift this if possible, so could you please prioritize verifying the fix once it's on Nightly? STR are in comment 4. Thank you.
Comment 6•4 years ago
|
||
| bugherder | ||
Comment 7•4 years ago
|
||
Hi Draw, thanks for the heads up! I have verified this bug on the latest Nightly 90.a01 build (Build ID: 20210511093339) on Windows 10 x64, macOS 10.15.7 and Ubuntu 20.04.
-
In order to verify the issue I have used the STR provided in comment 4 and the quick suggest results appear last in the Firefox Suggest section.
-
However, we have also performed exploratory testing and we have encountered a few bugs: Bug 1710648, Bug 1710650, Bug 1710654 and Bug 1710657. @Draw, when you have time can you please take a look over the new bugs?
| Assignee | ||
Comment 8•4 years ago
|
||
Thank you Cosmin! Of the four new bugs, I think bug 1710648 and bug 1710657 are the only ones that are truly caused by this bug. I left comments in the other two, but could you please test on an older Nightly to confirm my hunch that the other two are not related to this?
Bug 1710648 and bug 1710657 have the same root problem, so I think I can fix them together. The problem is that now that QS no longer has a suggested index, it doesn't get the flicker protection that it used to have.
| Assignee | ||
Comment 9•4 years ago
|
||
Comment on attachment 9220928 [details]
Bug 1709992 - Show the Quick/Firefox Suggest row at the end of the general bucket.
Beta/Release Uplift Approval Request
- User impact if declined: This will allow us to roll out phase 2 of Firefox Suggest to all en-US users on 89, not only those who have "Show search suggestions ahead of bookmarks and history" checked (the default). Without this, we'll have to wait until 90 to roll out phase 2 for users who have unchecked that preference. That would probably be OK, so this is more of a nice to have.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Please see earlier comments in this bug (should be clear)
- List of other uplifts needed: Bug 1710648
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a targeted patch that only affects quick suggest results, which will only be enabled in phase 2 of the Firefox Suggest rollout.
- String changes made/needed:
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Comment on attachment 9220928 [details]
Bug 1709992 - Show the Quick/Firefox Suggest row at the end of the general bucket.
Approved for 89.0b13.
Comment 11•4 years ago
|
||
| bugherder uplift | ||
Comment 12•4 years ago
|
||
I have verified this issue on the latest Beta 89.0b13 on Windows 10 x64, macOS 10.15.7 and Linux Mint 20. In order to verify this issue, I have used the STR described in comment 4 and also performed exploratory testing. While performing exploratory testing, I have also covered the telemetry pings and found the following issue: Bug 1711449.
Description
•