Closed Bug 2070214 Opened 2 months ago Closed 2 months ago

Remove Sync promos from History and Bookmarks menus when Sync policy is disabled and locked

Categories

(Enterprise Products :: Firefox, defect)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jporter, Assigned: jporter)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

When Sync policy is disabled and locked, the promo banners in the History and Bookmarks menus should not be visible.

Summary: Remove "Turn on sync" from "History" menu when Sync policy is disabled and locked → Remove Sync promos from History and Bookmarks menus when Sync policy is disabled and locked
Status: NEW → ASSIGNED

Authored by https://github.com/jporter-dev
https://github.com/mozilla/enterprise-firefox/commit/9df201dea853125915a72eb0953716a3854d8f54
[enterprise-main] Bug 2070214 - Hide the sync promos when the Sync policy locks sync off

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED

Steps to verify changes:

  1. Apply a Sync policy with { "Enabled": false, "Locked": true, "OpenTabs": true, "Bookmarks": true }
  2. Open and inspect the menus in the native macOS menubar and the hamburger menu
  3. Remove the policy and re-check the menu

Expected result:

When Sync is disabled and locked by policy...

  • "Turn on Sync…" / "Sync Now" does not appear in the macOS Tools menu
  • "Tabs From Other Devices" does not appear in the macOS History menu
  • "Sync Bookmarks to Mobile" does not appear in the macOS Bookmarks menu
  • No promos are present in the History/Bookmarks hamburger menu panels

When Sync is enabled, unlocked, or policy is unset, these items reappear.

Flags: qe-verify+
QA Contact: mcurtean

Hello Josh,

Tested on 158.0a1 (20260914083902) with macOS Tahoe 26.3 and by adding the policy through the JSON editor (note that it is possible to set the policy as disabled through the visual editor).
Confirmed that when the policy is disabled and locked and yet OpenTabs and Bookmarks are set as true :

  • Sync is not displayed in about:preferences#sync
  • "Tabs From Other Devices" , "Sync Bookmarks to Mobile" are not listed in the FxE History or Bookmarks menus (top browser or hamburger menus)
  • No promos are displayed in the FxE history or Bookmarks menu panels

When enabled, unlocked or the policy is removed:

  1. "Tabs From Other Devices" does appear in the macOS History menu - as expected
  2. However, I don't see "Sync Bookmarks to Mobile" or promos in these these menus - is there some other setting I am missing?
Flags: needinfo?(joporter)

(In reply to Miruna Curtean from comment #3)

Created attachment 9643293 [details]
Screen Recording 2026-09-16 at 16.14.41.mov

Hello Josh,

Tested on 158.0a1 (20260914083902) with macOS Tahoe 26.3 and by adding the policy through the JSON editor (note that it is possible to set the policy as disabled through the visual editor).
Confirmed that when the policy is disabled and locked and yet OpenTabs and Bookmarks are set as true :

  • Sync is not displayed in about:preferences#sync
  • "Tabs From Other Devices" , "Sync Bookmarks to Mobile" are not listed in the FxE History or Bookmarks menus (top browser or hamburger menus)
  • No promos are displayed in the FxE history or Bookmarks menu panels

When enabled, unlocked or the policy is removed:

  1. "Tabs From Other Devices" does appear in the macOS History menu - as expected
  2. However, I don't see "Sync Bookmarks to Mobile" or promos in these these menus - is there some other setting I am missing?

Upon agreement with Brain in a previous sync with QA, the "Sync Bookmarks to Mobile" should not appear for FxE.
Marking this as Verified fixed.

Status: RESOLVED → VERIFIED
Flags: needinfo?(joporter)
Flags: qe-verify+

Thank you Miruna, sorry for not getting back to you on this one - I was starting to have a look last week but got a bit busy at the summit 😅

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: