The Feedback menu options don’t work anymore if an option was previously clicked and the Address Bar panel remains open
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
People
(Reporter: cfat, Assigned: adw)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details |
[Affected versions]:
- Firefox Nightly 115.0a1 (Build ID: 20230508214159)
- Firefox Nightly 114.0b1 (Build ID: 20230508175934)
[Affected Platforms]:
- Windows 10 x64
- Linux Ubuntu 20.04 x64
- macOS 12.4
[Prerequisites]:
- Have a VPN client connected to a US server ( make sure the
browser.search.region
pref is set accordingly). - Have the Firefox Nightly 115.0a1 build installed.
- Set the following prefs:
browser.urlbar.weather.featureGate
=true
(Windows only)browser.urlbar.weather.ignoreVPN
=true
[Steps to reproduce]:
- Open the browser from the prerequisites.
- Type the “weather” string in the Address Bar.
- Click the Feedback button.
- Click any of the first 2 options (“Report inaccurate location” or “Show less frequently”).
- Click the Feedback button again.
- Click any of the Dismiss options from the sub-menu (“Not relevant” or “Not interested”).
- Observe the behavior.
[Expected result]:
- The weather suggestion is removed from the Address Bar panel and a Thank you message with the “Got it” button is displayed.
[Actual result]:
- Nothing happens, the weather result remains displayed.
[Notes]:
- We noticed that even though the dismiss buttons don’t work, the telemetry is incremented with each click for
firefox-suggest-weather-command-not-relevant
andfirefox-suggest-weather-command-not-interested
(depending on which one is clicked). - Here is the screen recording of the issue.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
[Tracking Requested - why for this release]: This bug is necessary for the Firefox Suggest weather suggestion feature we intend to ship in 114.
Assignee | ||
Comment 2•2 years ago
|
||
The problem is the two weather commands that keep the view open,
"inaccurate_location" and "show_less_frequently", aren't included in the
criteria that set isSessionOngoing
to true.
As the comment above isSessionOngoing
says, we should find a better way to
determine whether the session remains ongoing than hardcoding a list of
commands. I didn't try to do that here since we're time constrained and need to
uplift this to 114.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Comment on attachment 9332502 [details]
Bug 1832105 - Add the weather suggestion commands to the isSessionOngoing logic in the urlbar telemetry event code.
Beta/Release Uplift Approval Request
- User impact if declined: This bug is necessary for the Firefox Suggest weather suggestion feature we intend to ship in 114.
- 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: Should be clear from bug description
- 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 that only affects urlbar telemetry related to the weather suggestion. Has tests.
- String changes made/needed:
- Is Android affected?: No
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Comment on attachment 9332502 [details]
Bug 1832105 - Add the weather suggestion commands to the isSessionOngoing logic in the urlbar telemetry event code.
Approved for 114 beta 3, thanks.
Comment 7•2 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 8•2 years ago
|
||
We have verified this issue on the latest Firefox Nightly 115.0a1 (Build ID: 20230511094802) on Windows 10 x64, macOS 12.6.1, and Ubuntu 20.04 x64.
- The Weather suggestion can be removed in the same Address Bar session using any of the “Not relevant” or “Not interested” options after previously choosing any of the "Report inaccurate location" or "Show less frequently" options.
Reporter | ||
Comment 9•2 years ago
|
||
We have verified this issue on the latest Firefox Beta 114.0b3 (Build ID: 20230511191645) on Windows 10 x64, macOS 12.6.1, and Ubuntu 20.04 x64.
- The Weather suggestion can be removed in the same Address Bar session using any of the “Not relevant” or “Not interested” options after previously choosing any of the "Report inaccurate location" or "Show less frequently" options.
Description
•