The weather suggestion is not triggered for non-US regions
Categories
(Firefox :: Address Bar, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox114 | --- | affected |
People
(Reporter: cfat, Unassigned)
References
Details
[Affected versions]:
- Firefox Nightly 114.0a1 (Build ID: 20230501093846)
[Affected Platforms]:
- Windows 10 x64
- Linux Ubuntu 20.04 x64
- macOS 12.4
[Prerequisites]:
- Have a VPN client connected to a GB or ES server (make sure the
browser.search.region
pref is set accordingly). - Have the Firefox Nightly 114.0a1 build installed.
- Have the
nimbus.debug
pref set totrue
. - Switch to the Stage environment using the RS add-on.
- (Windows only) Have the
devtools.chrome.enabled
pref set totrue
.
[Steps to reproduce]:
- Open the browser from the prerequisites.
- Copy and paste the following link into a new tab:
about:studies?optin_slug=qa-zero-prefix-weather-suggestions&optin_branch=treatment-a&optin_collection=nimbus-preview
- Close the “about:studies” tab.
- (Windows only) Run the following snippet in the Browser Console: link.
- Open a new tab.
- Type the “weather” string in the Address Bar.
- Observe what happens next.
[Expected result]:
- The weather suggestion is displayed in the Address Bar drop-down.
[Actual result]:
- The weather suggestion is not displayed.
[Notes]:
Comment 1•1 year ago
|
||
Hi Carmen, I don't have access to a GB or ES VPN server so I can't try this myself. Could you please set browser.urlbar.loglevel
to Debug
, clear the browser console, run the snippet in the link, and copy-paste the output so I can see it? Firefox will try to fetch the suggestion when you toggle weather off and on, which the snippet does, so the logs that are generated at that time will help me see if the fetch was successful or not.
Comment 2•1 year ago
|
||
Ah sorry, I posted that before I watched your video. Thanks for posting the whole video, it was very helpful.
It looks like Firefox never tried to fetch the weather suggestion at all. That's probably because the weather suggestion is enabled only if the entire Firefox Suggest (quick suggest) feature is enabled, and the entire Suggest feature is enabled only in the US. When you restarted Firefox with GB, it saw it's not in the US, so it left Suggest turned off. That is the expected behavior right now, and we will enable weather suggestions only in the US in the near future.
If you set browser.urlbar.quicksuggest.enabled
, then Firefox should fetch the suggestion at that point, and you should see "Fetching suggestion" logged in the console. I think you can do it before or after running the snippet, it shouldn't matter. It's possible that AccuWeather doesn't provide suggestions for whatever local area the VPN server is in. But at least you should see "Fetching suggestion" and other related logs from "Weather" in the console.
Reporter | ||
Comment 3•1 year ago
|
||
Thank you, Drew, I was able to trigger the weather suggestion by setting the browser.urlbar.quicksuggest.enabled
pref to true
. I can also confirm that the result shows the temperature in Celsius as long as the OS language is also set to a non-US language.
Regions tested using the VPN client: GB, ES, and CA.
Description
•