Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 197135 - Thunderbird mail command results in improper To field.
Summary: Thunderbird mail command results in improper To field.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: 6
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: David Lawrence
URL:
Whiteboard:
: 199638 (view as bug list)
Depends On:
Blocks: FC6Blocker 171491
TreeView+ depends on / blocked
 
Reported: 2006-06-28 18:57 UTC by Ryan Powers
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-13 04:22:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch corrects improper Thunderbird URL handling string (deleted)
2006-09-12 03:26 UTC, Ryan Powers
no flags Details | Diff

Description Ryan Powers 2006-06-28 18:57:38 UTC
Description of problem:
The default launch string for Thunderbird (thunderbird mailto:%s) in "Preferred
Applications" will cause mail links from Firefox to be put in the To field as
mailto:<address>. When sent in this state, and m ends up prefixed before the
actual address resulting in incorrectly directed mail.


Version-Release number of selected component (if applicable):
control-center-2.14.2-1

How reproducible:
Always (from clickable links with mailto: prefixes).

Steps to Reproduce:
1. Click a mail link that includes mailto:
2. mailto: appears in Thunderbird's To: field
3. Attempt to send mail
  
Actual results:
An "m" is prefixed to the address and is incorrect. (This may be my mailserver's
interpretation 

Expected results:
"mailto:" does not appear in Thunderbird's To: field.

Additional info:
I've found a work around by using the launch string "thunderbird -compose %s"
rather than "thunderbird mailto:%s". Adding the prefix of mailto: seems to cause
problems on URLs that already contain mailto: and result in the improper
address. Using -compose will properly handle both cases where there is a mailto:
and there is no mailto: prefix.

This could potentially be filed against Thunderbird, and if you feel it should,
just let me know.

Comment 1 Andre Robatino 2006-06-29 00:45:59 UTC
  I noticed this after installing FC5 but didn't know which component to report
it under.  The correct component is definitely NOT thunderbird, since it's in no
way responsible for how it's invoked.  In Preferred Applications, I had to
change the Mail Reader to Custom, since using Thunderbird didn't allow me to
edit the Command, then I entered the command "thunderbird %s", since the
corresponding default commands for Evolution and Mutt are "evolution %s" and
"mutt %s", resp.  Thunderbird is unique in having "mailto:" in its default
command.  Does this mean that the other default commands should also be changed?

Comment 2 Martin 2006-07-21 14:22:32 UTC
*** Bug 199638 has been marked as a duplicate of this bug. ***

Comment 3 A. Lok 2006-09-03 20:33:41 UTC
Could the version be updated to fc6tst2? Since it doesn't work in fedora core 6
test 2 with control-center-2.15.92-5.fc6.

Comment 4 Gerry Tool 2006-09-07 19:51:39 UTC
I confirm that this problem exists in both FC5 and FC6T2.
The System > Preferences > More Preferences > Preferred Applications > Mail
Reader setting for the Thunderbird Mail choice sets the command to "thunderbird
mailto:%s" where it should be "thunderbird %s", the same as the other choices
for evolution and kmail.  To get a mailto: link in a web page to set the address
in thunderbird correctly, one has to use the Custom setting and remove the
mailto: part of the command. 


Comment 5 Ryan Powers 2006-09-11 16:04:34 UTC
(In reply to comment #3)
> Could the version be updated to fc6tst2? Since it doesn't work in fedora core 6
> test 2 with control-center-2.15.92-5.fc6.

I've updated the version to fc6test2 at your request.

Comment 6 Ryan Powers 2006-09-12 03:26:58 UTC
Created attachment 136050 [details]
Patch corrects improper Thunderbird URL handling string

Comment 7 Ryan Powers 2006-09-12 03:29:52 UTC
Comment on attachment 136050 [details]
Patch corrects improper Thunderbird URL handling string

I did some poking around in the source for this package. The vanilla config
contains the correct string, but is changed to the incorrect string by the
Fedora patch control-center-2.13.90-fedora-apps.patch
. This patch reverts the Thunderbird string to the correct one.

Comment 8 Ryan Powers 2006-09-12 03:35:52 UTC
I forgot to add, if someone with an FC6T2 environment could test this patch to
make sure it applies properly to a fully prepared source tree, I'd appreciate
it. I'm still using FC5, so I wasn't able to perform an rpmbuild -bp.

Comment 9 Warren Togami 2006-09-12 16:01:10 UTC
There will be existing user profiles with gconf using the wrong command, thus
thunderbird's URL handler launching script should be corrected to recognize both
the old and new syntax.

Comment 10 Matthias Clasen 2006-09-13 04:22:55 UTC
The thunderbird command is fixed in 2.16.0-3.
If you want to make thunderbird understand mailto:wtogami,
please open a thunderbird bug.


Note You need to log in before you can comment on or make changes to this bug.