Closed Bug 272013 Opened 20 years ago Closed 6 years ago

about:config prefs not saved when FFox closed by logout, or shutdown

Categories

(Firefox :: Settings UI, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: 6jju4k002, Unassigned)

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

See summary.

Reproducible: Always
Steps to Reproduce:
1. Open the about:config page
2. Edit a preference
    -- I have tried the following preferences: browser.underline_anchors and 
       image.animation_mode.
3. Log out of your windows session, either to login as different user, or reboot
machine.

Actual Results:  
Modified prefs not saved.

Expected Results:  
Modified prefs should be saved.

Have tried on blank profiles, and on firefox trunk build 2004111907, with
same results.
Linux version is Suse 8.2.
Window manager is KDE.

Doesn't occur when:
     *Changing preferences via the Edit->Preferences dialog.
     *Quitting firefox by closing window, or selecting Quit from Firefox
      menu.

    At minimum, please put a quick note about this in the release notes, for 
    next version.
Summary: about:config prefs not saven when FFox closed by logout, or shutdown → about:config prefs not saved when FFox closed by logout, or shutdown
I have experienced this problem when trying to add data like this to that file:

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

It does not save.
Depends on: 296693
This is very similar to bug 212251, do you experience that one too?

The Preferences dialog has the code to flush the changes to the disk on close.
No longer depends on: 296693
This bug is quite simple, we don't continuously save preferences, and we don't shut down properly when Linux shuts down (we just get caught in the killall hammer of doom) so we never write the prefs out.  Not too much we can do about that other than spot-fix to work with specific shutdown mechanisms, or hope that launchd gets better adoption, iirc.
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs,
filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
Assignee: bross2 → nobody
Does this still reproduce?
Severity: normal → critical
Flags: needinfo?(mats)
I've never had this problem with any of my profiles on any platform so I don't know.
Flags: needinfo?(mats)
Tried to repoduce it with Windows 10 and Firefox Developer Edition.
Could not repoduce it neither with shutdown nor logout.
I think this can be marked as fixed?

[Stumbled across this since I am part of a about:config-redesign, Bug 1493439)]
Flags: needinfo?(vseerror)
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(vseerror)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.