Closed Bug 252971 Opened 20 years ago Closed 12 years ago

-setDefaultMail is NOOP ("Set Program Access and Defaults")

Categories

(Thunderbird :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: agildehaus, Unassigned)

References

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040724 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040724 Firefox/0.9.1+

Using the "Set Program Access and Defaults" tool that comes with W2K SP4 and XP
SP1 you should be able to set your default web browser, e-mail client, media
player and IM client.  Thunderbird is indeed listed as an e-mail client that can
be chosen as default, but I have been unable to set Thunderbird as the default
client using this tool.

Not sure how an application registers itself with Set Program Access and
Defaults, but certainly Thunderbird should work properly with it.

Reproducible: Always
Steps to Reproduce:
1. Use 2000 SP4 or XP SP1 and enter the "Set Program Access and Defaults"
section of "Add/Remove Programs"
2. Select Mozilla Thunderbird as the default e-mail program.
3. Press OK.

Actual Results:  
An "applying changes" dialog appears and Thunderbird opens as a small window
with dimensions of about 50x10 pixels.  Then absolutely nothing happens until I
close that small window (cannot cancel the "applying changes" dialog with the
window open).  Thunderbird does not become the default e-mail client after
closing the small window.

Expected Results:  
Set Program Access and Defaults should have immediately made Thunderbird the
default email client.
Thunderbird builds confirmed affected are 0.7 and the latest nightly (20040724)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Mozilla Thunderbird 0.7.2 is (correctly?) setting

"HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla
Thunderbird\InstallInfo\ReinstallCommand"
to "%apppath%\thunderbird.exe -silent -nosplash -setDefaultMail"

And that is what gets run when you follow the steps above.

Checking the switches manually it appears we are breaking on -setDefaultMail.


Keywords: regression
Summary: Unable to set thunderbird as default mail client with "Set Program Access and Defaults" (WIN32) → -setDefaultMail is NOOP ("Set Program Access and Defaults")
From JavaScript Console:

Error: [Exception... "'Component is not available' when calling method:
[nsICmdLineHandler::chromeUrlForTask]"  nsresult: "0x80040111
(NS_ERROR_NOT_AVAILABLE)"  location: "<unknown>"  data: no]
I am seeing this same behavior in the new 1.0 release.  Similar to bug 265881.
*** Bug 281141 has been marked as a duplicate of this bug. ***
Thunderbird 1.0.6 also failes with the -setDefaultMail option. Thunderbird 
just shows up as the (aprox.) 10 x 50 pixels window and the default 
mailprogram isn´t set.
*** Bug 311219 has been marked as a duplicate of this bug. ***
I duplicated the symptom using 1.0.6, but with 1.5RC2 and 1.6a1, things are different:
TB opens (with the default profile), and if that version isn't already the default, it puts up the "make TB default?" prompt, forcing the user to confirm what he's already done.

If the profile doesn't have an account, the first thing that gets shoved in the user's face is the Create Account Wizard, which is kinda lame.

I don't think this is desirable behavior -- see suite bug 300573, Firefox 
bug 304104 -- but at least it does get to the desired result.
*** Bug 325116 has been marked as a duplicate of this bug. ***
*** Bug 348722 has been marked as a duplicate of this bug. ***
QA Contact: general
Assignee: mscott → nobody
I don't believe this is still a problem as of the latest 2.0 as well as Thunderbird Trunk (e.g. 3.0).
Version: unspecified → 1.5
btw: with 3.0 the command line has changed to
"<path to install dir>\uninstall\helper.exe" /SetAsDefaultAppGlobal
(In reply to Robert Strong [:rstrong] (do not email) from comment #12)
> I don't believe this is still a problem as of the latest 2.0 as well as
> Thunderbird Trunk (e.g. 3.0).

WFM current daily, on win7
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.