Closed Bug 295405 Opened 20 years ago Closed 20 years ago

Problems setting default news, mail and feed settings on Windows

Categories

(Thunderbird :: Preferences, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird1.1

People

(Reporter: mscott, Assigned: mscott)

Details

Attachments

(1 file, 1 obsolete file)

Sometimes the default app settings in the general options panel don't work. i.e. you make it the default client, hit ok, open the dialog again and the box is not checked like it should.
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird1.1
Attached patch the fix (obsolete) — Splinter Review
the new preferences APIs expect everything in the dialog to be a real preference. but this isn't true for the default app settings which are based on registery keys and not preferences. So the APIs end up creating dummy prefs (mail.checkDefaultMail, mail.checkDefaultNews, etc.). The fix is to initialize these dummy prefs every time the dialog is opened to the values we read out of the registry. Now when the user changes the check box for the pref, the pref APIs will always call our on write methods which sets the setting back in the windows registry. Note: You may need to delete any mail.checkDefault* prefs from your prefs.js file in your profile to get things working correctly again.
Attachment #184440 - Flags: superreview?(bienvenu)
Comment on attachment 184440 [details] [diff] [review] the fix thx, Scott, that was driving me batty.
Attachment #184440 - Flags: superreview?(bienvenu) → superreview+
Attached patch better fixSplinter Review
Attachment #184440 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Attachment #184450 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: