Firefox Suggest add-on suggestions are displayed with a delay
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | affected |
People
(Reporter: cbaica, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
|
9.81 MB,
video/mp4
|
Details |
Found in
- Fx 115.0a1
Affected versions
- Fx 115.0a1
Affected platforms
- Windows 10
- macOS
- Ubuntu 20
Preconditions
browser.urlbar.addons.featureGate set to true
browser.urlbar.suggest.addons set to true
browser.urlbar.quicksuggest.enabled set to true
browser.urlbar.suggest.quicksuggest.nonsponsored set to true
browser.urlbar.quicksuggest.dataCollection.enabled set to true
browser.urlbar.merino.enabled set to true
browser.urlbar.merino.providers set to amo
Steps to reproduce
- Launch Firefox.
- In the URL bar, write a keyword for an add-on suggestion.
- Click anywhere in the newtab page to dismiss the drop-down.
- Click back in the address bar.
Expected result
- Full address bar drop-down is displayed without issues.
Actual result
- Firefox Suggest section containing the add-on suggestion is displayed with a delay.
Regression range
- Not a regression.
Additional notes
- This issue does not occur when the add-on suggestion is displayed in the 'top pick' section.
| Reporter | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
:cbaica, if you think that's a regression, could you try to find a regression range using for example mozregression?
Comment 3•3 years ago
•
|
||
This is a pretty minor visual problem, so I'll give it P3 S4. It won't even happen in practice since addon suggestions will always be shown as top picks.
However, it's also not specific to addon suggestions and can happen with any row that has a group-relative suggested index, which includes the usual adM/Wikipedia suggestions. I can reproduce it by typing "nike" to trigger a sponsored suggestion.
I debugged it and this is what happens:
UrlbarView.autoOpen()reuses the cached query context- The view is closed so
onQueryResults()clears the rows - So then
#updateResults()starts with an empty view, and when it adds rows for all the results and finally gets to the last row, which is the quick suggest row with a group-relative suggested index, it setsseenMisplacedResultto true which causes it to hide the row - A little while later the query finishes and removes stale rows, which unhides the quick suggest row
Description
•