Bug 127238

Summary: desktop mail icon calls Mozilla without "-mail"
Product: [Fedora] Fedora Reporter: Juan Carlos Castro y Castro <jcastro>
Component: htmlviewAssignee: Christopher Aillon <caillon>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: redhat-e27
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-25 07:18:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
My hacked version of launchmail none

Description Juan Carlos Castro y Castro 2004-07-05 02:26:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040620

Description of problem:
Mozilla has been set as the default mail viewer. When I click on the
mail desktop icon, the web browser comes up instead. I found out the
/usr/bin/launchmail script calls the mozilla binary withoput the -mail
argument.

Version-Release number of selected component (if applicable):
htmlview-3.0.0-4

How reproducible:
Always

Steps to Reproduce:
1. Install latest version of Mozilla suite (I used RPMs from the
Seamonkey repository)
2. In Application Preferences, select Mozilla Mail as your mail client
3. Click on the "Email" panel icon.

Actual Results:  The Mozilla browser comes up.

Expected Results:  Mozilla Mail should have been called.

Additional info:

I have solved this problem (for me at least) by editing the launchmail
script. It originally ripped out any arguments from the command line,
and executed the binary with no options. My hacked version preserves
any parameter that may have been included.

Comment 1 Juan Carlos Castro y Castro 2004-07-05 02:28:40 UTC
Created attachment 101626 [details]
My hacked version of launchmail

This /usr/bin/launchmail rips out parameters from the command string taken off
gconf for the sole purpose of testing the existence of the binary -- it is
later executed with parameters.

Comment 2 David Zambonini 2004-09-20 12:45:03 UTC
I also ran into this and came to the same conclusion - launchmail is
erroneously stripping parameters from the given command line,
preventing mozilla mail from being launched - Juans' changes solve
this issue.

I realise that we will see this behaviour change in gnome 2.8, but can
we have this bugfix put in please?


Comment 3 Warren Togami 2005-04-25 07:18:16 UTC
Fixed in FC3.