Closed Bug 41722 Opened 25 years ago Closed 23 years ago

prefs not sticking across sessions (user.js problem)

Categories

(Core :: Preferences: Backend, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: phil, Assigned: alecf)

References

Details

Attachments

(1 file)

Using 2000-06-04-20 commercial build on NT 1. Noticed that I was composing HTML for news. 2. Opened Account Manager and set compose mode to plain text. Also set special folders to live on my IMAP server 3. OK'd the AM dialog 4. Brought up AM dialog again, all setting intact 5. Quit the app, brought up AM dialog, settings for HTML and special folders have reverted to defaults.
Nominate for nsbeta2
Keywords: nsbeta2
Severity: normal → major
Keywords: regression
QA Contact: lchiang → nbaca
phil - we had a bug a week or so back where we were writing unitialized memory to prefs.js during migration.. .then the next time you read in your prefs, it would barf halfway through... from then on your profile would be broken. can you try re-migrating?
marking M17
Target Milestone: --- → M17
The profile I'm using was not created by migrating a 4.x profile -- it was created from scratch a couple months ago.
Attached file My prefs file
hrm. I don't see anything unusual, in the prefs file, and my prefs are definately sticking... I'll go over the code and see if I can find what making this happen. libpref has this flag that it sets when there has been some error reading the prefs file. I just thought of one other thing - phil, can you see if you have a user.js file? There was a bug that affected a few builds last month where a user.js file would be created, and then libpref would stop saving to prefs.js for some reason.. it rears its ugly head every so often, I'm wondering if this is it.
Bingo. Deleting user.js seems to fix it.
Cool. I will add this bit of info to my mail troubleshooting document on mozilla.org.
Putting on [nsbeta2+] radar for beta2 fix. Why are we creating user.js? Can we not create this?
Whiteboard: [nsbeta2+]
since was fixed by removing user.js, I'm taking off the nbeta2 radar. There is another bug about user.js somewhere, but I don't know where it is/who owns it.
Status: NEW → ASSIGNED
Keywords: nsbeta2, regression
Summary: Account Manager prefs not sticking across app sessions → prefs not sticking across sessions (user.js problem)
Whiteboard: [nsbeta2+]
oh, and to answer Jan's question - no, we are not creating user.js - there was a bug a month or so ago where we would create one, and that would essentially taint your profile so all future builds would have this problem... but there were no milestone builds with this problem, so I argue that this is not a big deal since it only afects people who happened to use a nightly build when the old bug existed.
Good answer Alec
marking Wontfix because we don't plan on providing an upgrade to people who used this in between milestones.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
reopening and moving to Future. I'd like to fix this at some point so that user.js doesn't break the hell out of people who have it.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Target Milestone: M17 → Future
changing to a preferences bug
Component: Account Manager → Preferences: Backend
Product: MailNews → Browser
Status: REOPENED → ASSIGNED
Target Milestone: Future → mozilla1.0
*** Bug 60285 has been marked as a duplicate of this bug. ***
nav triage team: Really moving to future
Target Milestone: mozilla1.0 → Future
I'm running the latest version (last night's build). I searched on my hard disk and there is no user.js file and this problem still persists.
Don't know if is a bug or not, but a real stupid thing. Prefs set in user.js after mozilla start up, will go into the pref.js too. And when user want to disable the lines in user.js (with delete, or hide (//)), recognize that nothing new happend. So user have to edit the pref.js and get out these lines which was in user.js. In this case, user.js has no sense.
ok, there has been no traffic aside from this most recent comment... this bug is about the old problem where a user.js got created even if you don't normally use it, and it really hasn't plagued anyone else since the original problem was fixed. Since this issue hasn't come back to haunt us in over 18 months, I'm not going to try to track down what the real problem is. my suggestion is to go file a new bug on the user.js problem, I'm going to resolve this WONTFIX
Status: ASSIGNED → RESOLVED
Closed: 25 years ago23 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: