Closed Bug 1823949 Opened 1 year ago Closed 1 year ago

New Shortcuts are not added to the Top Sites section if previously dismissing all the non-sponsored tiles

Categories

(Firefox :: New Tab Page, defect)

Firefox 113
Desktop
All
defect

Tracking

()

VERIFIED FIXED
113 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- unaffected
firefox112 + verified
firefox113 --- verified

People

(Reporter: cfat, Assigned: nanj)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Affected versions]:

  • Firefox Nightly 113.0a1 - Build ID: 20230322094136

[Affected Platforms]:

  • Windows 10 x64
  • macOS 12.4
  • Linux Ubuntu 20.04 x64

[Prerequisites]:

  • Have a VPN client connected to a US server (for people located outside the US).

[Steps to reproduce]:

  1. Open the browser from the prerequisites.
  2. Open a new tab.
  3. Dismiss all the non-sponsored tiles.
  4. Hover any of the empty tiles, EXCEPT the one next to the sponsored one.
  5. Click the “Edit this site” button.
  6. Add a site title and a valid URL on the “New Shortcut” window.
  7. Click the “Add” button and observe what happens next.

[Expected result]:

  • A new shortcut is created with the details entered in step 6.

[Actual result]:

  • Nothing happens, the tile remains empty.

[Regression window]:

[Notes]:

  • The issue is not reproducible using the empty tile next to the Sponsored one.
  • After doing the STR above, I noticed that dismissing the Sponsored tiles as well will make the new shortcut be displayed. Also, the 2nd Sponsored tile cannot be dismissed individually, but it gets dismissed at the same time as the first Sponsored tile is dismissed.
  • Here is a screen recording of the issue.
Keywords: regression
Regressed by: 1822604
Assignee: nobody → najiang
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1822604

Pushed by najiang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f60624b10d53
Fix an edge case for adding custom topsites r=thecount
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

I have verified this issue on the latest Firefox Nightly 113.0a1 (Build ID: 20230323094537), on Windows 10 x64, macOS 12.6.1, and Ubuntu 20.04 x64.

  • New shortcuts can be added correctly and I can confirm that they also persist at browser restarts.
Status: RESOLVED → VERIFIED

Given that this issue was regressed by Bug 1822604 which was recently uplifted to Beta 112.0b6, this bug is now also reproducible on the 112 version. Updating the version flags accordingly.

[Tracking Requested - why for this release]: This bugfix is required for the 3rd sponsored tile experiment in Firefox 102.

Comment on attachment 9324472 [details]
Bug 1823949 - Fix an edge case for adding custom topsites r=thecount

Beta/Release Uplift Approval Request

  • User impact if declined: The experiment user group will not be able to add custom shortcuts under certain conditions.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This patch would only apply to some experiment users, we can turn off the experiment through Nimbus if needed.
  • String changes made/needed: None
  • Is Android affected?: No
Attachment #9324472 - Flags: approval-mozilla-beta?

Hi Dianna, I'm sorry to bother you at this time. Wonder if we can get this uplifted to beta 112 given that today is the last day for the early beta cycle. Thanks in advance!

Flags: needinfo?(dsmith)
Flags: needinfo?(dsmith)

Comment on attachment 9324472 [details]
Bug 1823949 - Fix an edge case for adding custom topsites r=thecount

Approved for 112.0b7

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

Thanks so much, Dianna!

Flags: qe-verify+
QA Whiteboard: [qa-triaged]

I have verified this issue on the latest Firefox Beta 112.0b7 (Build ID: 20230326180212), on Windows 10 x64, macOS 12.6.1, and Ubuntu 20.04 x64.

  • New shortcuts can be added correctly and I can confirm that they also persist at browser restarts.
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: