Closed Bug 300573 Opened 19 years ago Closed 19 years ago

-setDefaultBrowser and -setDefaultMail doesn't work

Categories

(SeaMonkey :: UI Design, defect)

1.8 Branch
x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pywebmail, Assigned: jag+mozilla)

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b3) Gecko/20050711 MultiZilla/1.8.0.1d SeaMonkey/1.0a
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b3) Gecko/20050711 SeaMonkey/1.0a

After selecting SeaMonkey in "Set Program Access and Defaults"
it was run with "-silent -nosplash -setDefaultBrowser",
but instead of siletly setup itself in registry and exit
it shows browser window.
Same with selecting SeaMonkey as default mail:
it runs with "-silent -nosplash -setDefaultMail"
but shows browser. Also it hadn't setup itself as asked.


Reproducible: Always

Steps to Reproduce:
1. Install SeaMonkey (night build)
2. Open "Set Program Access and Defaults" from "Start Menu".
3. Select SeaMonkey. Click OK.

Actual Results:  
browser window shows as on regular start

Expected Results:  
setup itself in registry and siletly exit

This is degradation(!) - Mozilla night builds (at least 20050602) works ok.
Keywords: regression
Version: unspecified → 1.0 Branch
Flags: blocking-seamonkey1.0b?
WFM using trunk (2005082205) though -setDefaultBrowser and -setDefaultMail
appear to be case sensitive.
http://lxr.mozilla.org/seamonkey/source/xpfe/components/winhooks/nsSetDefaultBro
wser.js#93

 93       // See if "-setDefaultBrowser" was specified.  The value will be "1" 
if
 94       // -setDefaultBrowser is in the service's list of cmd line arguments, 
and
 95       // null otherwise.  -setDefaultBrowser will only be in the service's
 96       // arg list if the application was not already running.  That's 
because
 97       // if it was already running, then the service reflects the arguments
 98       // that were specified when *that* process was started, *not* the ones
 99       // passed via IPC from the second instance.

Line 96-99 are the interesting ones... Michael Dubner, did you already have 
SeaMonkey running when you set it as the default browser?
Severity: major → minor
Seems to be fixed in 2005-09-15-06-trunk/seamonkey-1.1a.en-US.win32.installer.exe
Assignee: general → jag
Component: General → XP Apps
QA Contact: general
Version: 1.0 Branch → 1.8 Branch
WFM with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5)
Gecko/20051019 SeaMonkey/1.0b

SeaMonkey gets registered and doesn't start. So everything works as expected.
-->wfm then
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Flags: blocking-seamonkey1.0b?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.