Closed Bug 214158 Opened 21 years ago Closed 16 years ago

mailto problem back if you change default mail client using IE preferences

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Thunderbird0.2

People

(Reporter: wgianopoulos, Assigned: mscott)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030726 Mozilla Firebird/0.6.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030726 Mozilla Firebird/0.6.1 Alothough the 0.1 mailestone version of Thundirgbird now correctly includes the -compose flag in serveral registry entries so that a mailto: link now correctly enters the compose window, if you use IE to set the defaul mail application to thunderbird, the -compse flag is removed. The reason for this is that one registry key is STILL missing the -compose flag. The -compse flag must be added to the key: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail|Thundirbird\protocols\mailto\shell\open\comand The picker in the IE preferences uses this KEY if you pick thundirbird Mail as the default mail application to initialize the other 2 keys. Reproducible: Always Steps to Reproduce: 1. Select Thunderbird as your default mail application from within Thunderbird 2. From Firebird (or another browser) enter the url mailto:user@mozilla.org 3. Verify that you correctly enter Thunderbird mail in a compose window with the To: address of user@mozilla.org filled in. 4. Bring up IE 5. under Tools -> Internet Options -> Programs, select some other application as the E-Mail program. 6. Click on Apply. 7. change the E-Mail application back to Thunderbird Mail 8. Click on apply 9. go back to the browser window and enter the same mailto: URL as before Actual Results: Thundirbird opens in the folder view Expected Results: Thunderbird should open a compose window with the To: address initialized to the value specified in the mailto: url.
I should have mentioned that unlike the other 2 registry keys that are only modified if you select Thunderbird as your default mail applications. This particular key needs to be properly set up regardless of the setting of the default mail application, so that even if you never select Thundirbird as the default mail application from within Thunderbird, it can still be made the default mail application correctly va the IE control panel. So, my guess is that it was missed when the other keys were updated becuase the code to set it is located in a completely differenet module of the code.
Attached patch the fix (obsolete) — Splinter Review
I believe this solves the problem. Thanks for the indepth analysis. It helped a lot!!
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.2
Blocks: 219336
FYI: per Bug #219386, the %1 needs to be wrapped in quotes.
Attachment #130033 - Attachment is obsolete: true
*** Bug 219386 has been marked as a duplicate of this bug. ***
QA Contact: asa
fix in thunderbird 0.3. leaving open for trunk.
Thunderbird 0.3 and 10/28 build updated HKEY_LOCAL_MACHINE mailto\shell\open\command value successfully and properly but Mozilla 2003102804-trunk/Win-Me does not update the registry key value when I reply "YES" to dialog for default mail application change. Manual change of HKEY_LOCAL_MACHINE\mailto\shell\open\command value to something like D:\MOZILLA\1~1.6@1\BIN\MOZILLA.EXE -compose "%1" invoked Mozilla Mailnews successufully on clicking "mailto:" link in a text from other application such as text editor. Scott, does your "open for trunk" mean that this Mozilla problem("does not update registry key") will be also resolved by your fix? Or your fix is only for correction of invalid registry key value?
Correction. Sorry for my mistake and spam. [Invalid] > D:\MOZILLA\1~1.6@1\BIN\MOZILLA.EXE -compose "%1" invoked Mozilla Mailnews > successufully on clicking "mailto:" link [Valid] D:\MOZILLA\1~1.6@1\BIN\MOZILLA.EXE -compose "%1" invoked Mozilla Mailnews successufully on clicking "mailto:" link but To: field becomes blank always. D:\MOZILLA\1~1.6@1\BIN\MOZILLA.EXE -compose to:%1 invoked Mozilla Mailnews successufully on clicking "mailto:aaa@bbb.ccc.ddd" or "aaa@bbb.ccc.ddd" at text editor but To: filed becomes "mailto:aaa@bbb.ccc.ddd" because application invokes default mailer with "mailto:<address>?subject=xxxx..." format. Scott, "leaving open for trunk" means all of followings will be done on Mozilla Mail&New too? (1) change of -compose interface or "mailto:<address>..." format support (2) perform registry update on default mailer setting (3) correction of updated registry key data (eg. add double quote)
WADA, the -compose switch for MailNews was not parsing mailto: URLs thru 1.7; Moz 1.8 has that support. Scott, shouldn't this fix get into the trunk, now that MailNews *does* support the -compose ?
Blocks: 236774
No longer blocks: 219336
Summary: mailto problem back if you change default mail client usnig IE preferences → mailto problem back if you change default mail client using IE preferences
The patch for this never made it past 0.2. Is it still a problem?
QA Contact: front-end
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: