Closed Bug 432920 Opened 16 years ago Closed 16 years ago

Thunderbird fails to check that it is the default email client on startup

Categories

(Thunderbird :: General, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3

People

(Reporter: gkw, Assigned: rain1)

References

Details

Attachments

(1 file)

Occurred on 10.4 Tiger, while testing Shredder Alpha 1 build 1 and on Vista SP1 as well.

Thunderbird fails to check that it is the default email client on startup. On Vista, I even made sure that I checked "Windows Mail" as the default prior to starting Thunderbird. I ended at the account wizard without Thunderbird ever asking me if Thunderbird was to become the default client.

On first run, as a comparison, Firefox does ask if it should be the default web browser, so the same should apply for Thunderbird.
Flags: wanted-thunderbird3?
I tried it on Windows XP.  After setting up an account, the next restart of Thunderbird made it ask whether it should be the default.  It would be wrong for it to ask before any account is set up, because a default mail client with no account is useless.
Gary, do you have multiple profile? I bet so. I can remember to a bug where that happens with multiple profiles. Could you run a test with a cleaned folder under Library?
Henrik, fresh profile.

I must note that this happens on and off. Sometimes the dialog comes up, other times not. Pretty inconsistent to be honest. Also, Mail.app wasn't touched, and the 10.5 system was pretty fresh.
Sure. But do you use multiple profiles? If not then it's a bit suspicious. Any idea why that only happens time by time? Any special conditions e.g. after a software update or others?
No, no multiple profiles. No software update. And no idea why it only happens from time to time.
As part of bug 430614, the startup situation does need to be improved.
Blocks: 430614
Status: NEW → ASSIGNED
Flags: blocking-thunderbird3.0b1?
Attached patch fix v1Splinter Review
The code's a pain to look at in general :(
Assignee: nobody → sid1337
Attachment #333992 - Flags: superreview?(bienvenu)
Attachment #333992 - Flags: review?(bienvenu)
Thx for the patch, Sid! Can you explain a little what the problem was? Is this a regression?
I'm not sure where if it's a regression or not (it could be related to bug 438050), but what was happening was that the account wizard dialog was being opened asynchronously, immediately returning to the code that checks whether there's an account or not (the default client dialog only pops up if there's already an account configured).

Now I'm forcing things to be in order through a callback.
I don't think this is really a blocker because it's just not that painful for the user.  But it'd sure be nice to have; so marking wanted-thunderbird3+.
Flags: wanted-thunderbird3?
Flags: wanted-thunderbird3+
Flags: blocking-thunderbird3.0b1?
Comment on attachment 333992 [details] [diff] [review]
fix v1

ok, thx, Sid.
Attachment #333992 - Flags: superreview?(bienvenu)
Attachment #333992 - Flags: superreview+
Attachment #333992 - Flags: review?(bienvenu)
Attachment #333992 - Flags: review+
Keywords: checkin-needed
Note to testers: please start with a fresh profile. (This should work fine on all Windows installations at least -- others might me missing something that is required for the default client dialog to show.)

You should see the account wizard. If you create the account, you should see the default client dialog immediately after the account wizard finishes. If you don't, you shouldn't.
http://hg.mozilla.org/comm-central/index.cgi/rev/72a87349675b
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3
Comment on attachment 333992 [details] [diff] [review]
fix v1

>+  setTimeout(function() { msgOpenAccountWizard(wizardCallback); }, 0);
Actually you can write this as
setTimeout(msgOpenAccountWizard, 0, wizardCallback);
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: