Desktop and Quicklaunch icons created when SeaMonkey is made the default browser from the command line.

NEW
Unassigned

Status

SeaMonkey
OS Integration
7 years ago
3 years ago

People

(Reporter: Rob Janssen, Unassigned)

Tracking

SeaMonkey 2.0 Branch
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Halloween2011Bug])

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101124 SUSE/2.0.11-0.1.1 SeaMonkey/2.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11

Installed SeaMonkey selecting no icons to be created on desktop and quicklaunch.
This in itself works OK.
But, when SeaMonkey is made the default browser, the icons are created nonetheless.

SeaMonkey was made default browser using:
"%ProgramFiles%\Mozilla\SeaMonkey.exe" -setDefaultBrowser -silent

Reproducible: Always

Steps to Reproduce:
1. Install SeaMonkey, unchecking the options for desktop and quicklaunch icons
2. Make it default browser

Actual Results:  
Icons do appear where they are not desired

Expected Results:  
No spontaneous creation of icons

Comment 1

7 years ago
Sounds like something to do with winIntegration.cpp,
cc mcsmurf in case he knows anything about this.

Comment 2

7 years ago
Actually the shell service calls the helper app which does the needful. I suspect it's something to do with suite/installer/windows/nsis/shared.nsh->SetAsDefaultAppUser

Firefox splits it into two SetAsDefaultAppUser and SetAsDefaultAppUserHKCU

Comment 3

6 years ago
Is this still reproducible with latest build?

Updated

6 years ago
Whiteboard: [Halloween2011Bug][CLOSEME 2012-01-01 WFM]
Version: unspecified → SeaMonkey 2.0 Branch
(Reporter)

Comment 4

6 years ago
Yes it still occurs in 2.4.1

Comment 6

6 years ago
Okay, I can reproduce this with both Seamonkey and Firefox, it doesn't matter what settings do you use while install, icons always turn back.
Reduced testcase:
1) Install Firefox
2) Set it as default with such line from command prompt
"%ProgramFiles%\Mozilla Firefox\Firefox.exe" -setDefaultBrowser
3) After launch icons on Desktop and in Quick Launch appeared
Tested build:
Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
I've also tried to reproduce this on nightlies, but both 9.0a2 and 10.0a1 doesn't care about setting them default nor via command line, not via Tools - Options - Advanced - System Defaults. Builds info:
Mozilla/5.0 (Windows NT 5.1; rv:9.0a2) Gecko/20111031 Firefox/9.0a2
Mozilla/5.0 (Windows NT 5.1; rv:10.0a1) Gecko/20111031 Firefox/10.0a1
Test with 8.0 beta also failed, it completely refuses to start under Windows XP SP3.
(Reporter)

Comment 7

6 years ago
I think it is quite simple: at some point in the past someone thought it was a good idea to put the icons (back) on the desktop and quicklaunch whenever the user decides to make the browser default (via commandline or via the options dialog).
This happens whenever the user has removed the icons himself or has decided not to install them at all.
Not good.   Such actions should not be attached to making the browser default.
When someone wants to create icons it should be a separate function, or as minimum it should respect the choices made earlier during install (that probably are not saved anywhere for later use...)

I also think the setting as default should be an option of the installer, so this problem could be avoided by ticking "no icons" and "make default browser" "make default mailer" etc on the (advanced) setup or the /INI file.
(so it would no longer be necessary to launch it with -setDefaultBrowser and -setDefaultMail after installation, triggering this bug)

Updated

6 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

6 years ago
Whiteboard: [Halloween2011Bug][CLOSEME 2012-01-01 WFM] → [Halloween2011Bug]
(Reporter)

Comment 8

5 years ago
It still occurs in SeaMonkey 2.13.1
(to avoid "this bug has had no activity blablabla")
Don't worry, bugs that are marked as NEW usually don't get closed due to no activity (unfortunately they also don't get fixed automatically either :-). But thanks for bringing this up again, a fix for this should not be that difficult.

Comment 10

3 years ago
Can someone please contribute a meaningful bug title what allows to understand the issue without necessity to read all comments.

Currently I am not sure whether this really is an issue. At least I do not think that unchecked checkbox in installation dialog should still have influence to installed Seamoney and whatever. And for installed Seamonkey/Firefox/whatever I do not know any setting "do not create icons".
Flags: needinfo?(nobody)

Comment 11

3 years ago
(In reply to Rainer Bielefeld from comment #10)
> Currently I am not sure whether this really is an issue. At least I do not
> think that unchecked checkbox in installation dialog should still have
> influence to installed Seamoney and whatever. 
Why not? Or, why icons are created when browser just registered as default?

PS: still reproducible in
Mozilla/5.0 (Windows NT 5.2; rv:35.0) Gecko/20100101 Firefox/35.0
Flags: needinfo?(nobody)

Comment 12

3 years ago
I was able to reproduce the observed and complained behavior with Firefox Portable 35.0.1: on WIN7 64bit

0. Delete  Desktop Icon
1. Run a batch.bat containing
   "C:\FirefoxPortable\FirefoxPortable.exe -setDefaultBrowser -silent"
   » Dalog appears, you have to confirm admin permissions
   » action will be completed
   » Afterwards you will find desktop icon
I will test later whether FF has become my default browser

Comment 13

3 years ago
Continuing:
2. Make FF Standard Browser in ff. Settings and close all browsers

10. Launch WIN console
11. With commands "CD" change to seamonkey program folder
12. Execute "seamonkey.exe -setDefaultBrowser" 
   » Dalog appears, you have to confirm admin permissions
   » action will be completed
   » Afterwards you will find Seamonkey desktop icon
   » but it seems that Seamonkey has not become my standard Browser

a) I see this as a feature, not as a BUG. 
b) On the other hand, Philip Chee might have had good reasons to confirm 
   this one as NEW
c) I can not reproduce that behavior switching standard browser in Browser 
   Settings, so the problem seems to be limited to command line.
   This should be mentioned in bug Summary
d) I can't imagine any user scenario where a user switches Standard browser
   several times a day via command line or script and has to waste lots of time
   to delete absolutely unacceptable FF icons, so I keep my opinion that this is
   a feature (may be a superfluous one).

@Philip Chee, can you please some short comment concerning my a ... d?
Flags: needinfo?(philip.chee)

Comment 14

3 years ago
e) And this one is a Core-Whatevercomponent issue, not something with
   Seamonkey

Updated

3 years ago
Flags: needinfo?(philip.chee)
Summary: Desktop and Quicklaunch icons created → Desktop and Quicklaunch icons created when SeaMonkey is made the default browser from the command line.
You need to log in before you can comment on or make changes to this bug.