Closed Bug 1832105 Opened 2 years ago Closed 2 years ago

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)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
115 Branch
Tracking Status
firefox114 + verified
firefox115 --- verified

People

(Reporter: cfat, Assigned: adw)

References

Details

Attachments

(1 file)

[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]:

  1. Open the browser from the prerequisites.
  2. Type the “weather” string in the Address Bar.
  3. Click the Feedback button.
  4. Click any of the first 2 options (“Report inaccurate location” or “Show less frequently”).
  5. Click the Feedback button again.
  6. Click any of the Dismiss options from the sub-menu (“Not relevant” or “Not interested”).
  7. 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 and firefox-suggest-weather-command-not-interested (depending on which one is clicked).
  • Here is the screen recording of the issue.
Assignee: nobody → adw
Status: NEW → ASSIGNED
Priority: -- → P1

[Tracking Requested - why for this release]: This bug is necessary for the Firefox Suggest weather suggestion feature we intend to ship in 114.

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.

Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e5722e588df Add the weather suggestion commands to the isSessionOngoing logic in the urlbar telemetry event code. r=daisuke
Flags: qe-verify+
Flags: in-testsuite+

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
Attachment #9332502 - Flags: approval-mozilla-beta?
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
QA Whiteboard: [qa-triaged]

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.

Attachment #9332502 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

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.

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.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: