Sync certain global mail.* preferences

NEW
Unassigned

Status

--
enhancement
7 years ago
7 years ago

People

(Reporter: InvisibleSmiley, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
+++ This bug was initially created as a clone of Bug #720735 +++

SeaMonkey Sync is able to sync the values of any preferences provided the preference names are fixed (which excludes servers and identities). All you have to do is define a matching boolean preference with the prefix "services.sync.prefs.sync." and set the preference to "true". Default preferences are to be found in suite/browser/browser-prefs.js.

We should look at all mail.* preferences and check which ones to add here. Likely candidates would be those that users are likely to change and take with them as they switch devices.

Example: mail.SpellCheckBeforeSend
(Reporter)

Comment 1

7 years ago
Created attachment 598991 [details]
prefs list

The attached is a list of the mail.* prefs in my profile, with non-static stuff (e.g. server- or identity-specific prefs) stripped, obtained using the below code executed in the Error Console opened from an about:config browser tab.

var s = "";
var x = top.opener.window.getBrowser().contentDocument.getElementById("configTree").view;
for (var i = 0; i < x.rowCount; i++) {
  s += x.getCellText(i, {id:"prefCol"}) + "\n";
}
Components.utils.reportError(s);

Comment 2

7 years ago
Since this isn't an error you might want to use logStringMessage():
Services.console.logStringMessage(s);
You need to log in before you can comment on or make changes to this bug.