Redirect Search tips (google.com) are flicker displayed
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | unaffected |
firefox74 | --- | disabled |
firefox75 | --- | fixed |
People
(Reporter: aflorinescu, Assigned: bugzilla)
References
Details
Attachments
(2 files, 1 obsolete file)
[Environment:]
Windows 10, Mac 10.15.3, Ubuntu 18.04
Firefox Nightly 75.0a1 20200302212732
Firefox 74.0b9 (enabling browser.urlbar.update1.searchTips & browser.urlbar.update1)
[Preconditions:]
- Create a new profile.
- Verify that no updates have been made in the last 24h (open about:support, update folder , open folder and delete update.xml if any is listed)
- Set profile age to be older by running the following snippet in browser console: (async function() { let { ProfileAge } = ChromeUtils.import("resource://gre/modules/ProfileAge.jsm"); let age = await ProfileAge(); age._times = { firstUse: 1368255600000, created: 1368255600000 }; await age.writeTimes(); })();
- Restart browser with restore session and a random youtube.com/video loaded
- Default search is google.com.
[Steps:]
- Browser is opened with your custom youtube link restored.
- Focus address bar and type google.com
[Actual Result:]
Redirect search tips are displayed and imediately auto-dismissed.
[Expected Result:]
Redirect search tips are displayed upon redirecting to any of the google.com homepages.
[Note:]
Using the "cheat" preference browser.urlbar.searchTips.test.ignoreShowLimits to true will not reproduce the issue.
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
On further testing, this issue only reproduces with google.com: updating title to properly reflect this.
When bing.com or duckduckgo.com are set as default engines, the Search Tips are properly displayed with comment 0 scenario.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
The issue here is that my assumption in bug 1613662 comment 2 was wrong. We encounter two onLocationChange
events when navigating to the Google homepage. The second one hits this check, which closes the view containing the Search Tip. To resolve this issue, we could reintroduce a timeout on UrlbarProviderSearchTip
's search
call , but that would just reintroduce bug 1613662. We also can't remove the view.close
call since it's what prevents the Search Tip from staying open after the user navigates to the Google results page.
We need to balance showing the Search Tip quickly, to combat bug 1613662; and accounting for multiple onLocationChange
calls. I'll think on this.
Assignee | ||
Comment 3•4 years ago
|
||
Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1863553d41b3 Check if the user is typing a query before showing a Search Tip. r=adw
Assignee | ||
Comment 5•4 years ago
|
||
Comment 6•4 years ago
|
||
Comment on attachment 9130848 [details]
Bug 1619547 - Hotfix - Move forgotten urlbar/tests/browser skip-ifs. r?adw!
Revision D65372 was moved to bug 1618867. Setting attachment 9130848 [details] to obsolete.
Comment 7•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•