Closed Bug 269065 Opened 20 years ago Closed 17 years ago

"mailto is not a registered protocol" sheet when clicking on "mailto:" links (after installing upgrade to Eudora)

Categories

(Camino Graveyard :: OS Integration, defect, P3)

PowerPC
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
Future

People

(Reporter: steve, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040825 Camino/0.8.1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040825 Camino/0.8.1

when i click on a mailto: link, i get an error dialog that says "mailto is not a
registered protocol". mailto: links continue to function properly in IE and Safari.

Reproducible: Always
Steps to Reproduce:
1. click on a mailto: link
2.
3.

Actual Results:  
i get an error dialog that says "mailto is not a registered protocol"

Expected Results:  
created a new message in Eudora

*** This bug has been marked as a duplicate of 268441 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
no, i don't think this is a dupe of that bug at all
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Ok, I have just partially trouble-shot this bug.  I hope this info will be
enough for the brilliant devs to fix/work-around this :-) but it's a pretty
convoluted scenario.

First, confirming the problem with both 0.8.1 and 2004111108 (v0.8+) NB.  It's
specific to clicking mailto: links (the "send page" toolbar function works as
expected).  In my case, Firefox and iCab willingly sent opened messages in
Eudora when clicking on mailto links.

I tried the obvious, restarting Camino between each change: set aside my
profile.  Log out.  Verify that Eudora is set as the default mailer/mailto:
handler (used RCDefaultApp).  No luck.

Switched default mailer to Mail.  Camino now opened a message in Mail.
Switched default mailer back to Eudora.  Still "mailto is not a registered
protocol."

At this point I tried Safari, which I hadn't previously tried.  Upon clicking a
mailto link, Safari presented the "this is the first time you are clicking on an
internet link for protocol "mailto" it will open application "Eudora" do you
want to do this?" dialogue that appeared after this summer's LaunchServices/URI
Handler hole.

Now clicking on mailto: links in Camino brings up Camino's "External Protocol
Request" sheet (if one hasn't chosen for Camino to remember the choice for
mailto) and opens an email in Eudora.

Since the bug reporter had tried Safari in his tests, perhaps it is the
switching default mailer to Mail and then back to Eudora that prompted Safari to
 show its dialogue and "flip the OK switch" in LaunchServices and then let
Camino see mailto as valid?

steve@maller.com, would you try the steps in the above paragraph and see if that
gets Camino working for you?

Something to consider for 0.8.2 if it's easily fixable?
Status: UNCONFIRMED → NEW
Ever confirmed: true
It just occurred to me to test other protocols.  I downloaded MT-NW and Camino
replied that news: was not a valid protocol when clicking on a news: link. 
Firefox, however, brought me the "this internet location will open the app MT-NW
for the first time..." dialogue.

It looks like Camino is not properly talking to LaunchServices?

But launching/quitting MT-NW and then trying in Camino (having not OK'd the
dialogue shown by Firefox previously) worked fine...clicking on a news: link in
Camino launched MT-NW.

The Eudora case is much more complex, because I had checked mail in Eudora after
the upgrade, and I had been using Eudora for quite some time.

Sorry for the rambling...hope I haven't added to the confusion.
OK, I followed the recommended steps:

1. quit Eudora and Camino
2. start up Mail.app and change default email program to Mail.app
3. start up Camino and click a mailto: link (it works with Mail)
4. quit Camino, and change default email program to Eudora within Mail
5. quit Mail, open Camino and click mailto: link
6. the right thing now happens (Eudora opens)

Question: aside from the one popup in Mail.app, is there a UI anywhere in Mac OS
X 10.3.6 for changing the default applications for various protocols? I seem to
remember there once was (in Jaguar?). This is very odd!

Thank you for your help in fixing My Little Problem.
i don't think these are dupes, to be honest.
others are reporting seeing this. I think we need to get to the root of it
sooner rather than later.
Status: NEW → ASSIGNED
Target Milestone: --- → Camino0.9
I have the same problem. Only on my "work" system, noit on my "home" system.
Both running 120.3.6 and Eudora 6.2.

The suggestions in comment #5 do not solve the problem for me.

FWIW my home dir on the "work" system is on a mounted firewire drive (iPod
Photo). Eudora is in my ~/Applications but this makes Mail.app unhappy so I have
a copy of Eudora on the internal hard drive as well. I have filed a bug with
Apple to let them know that Mail.app refuses to select a mailer app on a mounted
firewire drive. :-(
More information...
- Obviously I'm running 10.3.6 (not 120.3.6)
- I never get the popup about the "first time" I'm running something.
- the UI Steve Maller speaks of is a third-party preference pane called More
Internet - http://www.monkeyfood.com/software/moreInternet/ - APple no longer
has one UI for protocol helpers and the UI's they do have suc^Ware lame,
minimalistic, and difficult to find.
- More Internet claims to have problems setting Eudora 6.2 as my mailto helper
(even when Eudora is on the hard disk). No reason is given and  I have not had a
reply from the developers on this
- I've looked into ~/Library/Preferences/com.apple.LaunchServices.plist and
Eudora _appears_ to be listed correctly as the mailto helper
(In reply to comment #9)

vlb@cfcl.com: 

A. With your mailer set to Eudora, did you try clicking on a mailto: link in
Safari and seeing if you got the "first-time dialogue"?  (It's a dialogue that
will appear roughly in the middle of the screen rather than a "sheet" attached
to the top of the window; I'll attach a screenshot below.)

B. If you don't see the "first-time dialogue" with Safari (and Eudora launches
when clicking on a mailto:), can you try this:

1. Switch the mailer to Mail
2. Verify that mailto:s launch Mail (with Camino)
3. Switch the mailer back to Eudora
4. Click on a mailto: in Safari and see if you get the "first-time dialogue"
5. Then click a mailto: in Camino

Do you get the "first-time dialogue" in step B4?  Do mailto:s now work in B5?

N.B.  If you're having trouble setting the mailer back to Eudora in Mail, try
the checkbox in Eudora's "Getting Started" settings.  I actually used
RCDefaultApp (http://www.rubicode.com/Software/RCDefaultApp/) to do my switching
of the mailer.  It might work for you, too.
I didn't remember to grab the one for Eudora, but here's the one for
MT-Newswatcher (news:)
adding vicki to the cc list so she sees the comments directed at her.
I''m quite familiar with the "first time" dialog ;-( With my home dir on a firewire drive I get this too often 
(good idea; needs work).

Back to the bug at hand. Thanks for the more complex set of suggestions. Having followed the latest 
game (comment #10) I have now received the loathed "first time" dialog AND Camino is now "reset'.  I 
howe this means something to the development folks 'cause the steps sound like either witchcraft or a 
good game of Calvinball ;-)

"Obviously" the requirement is to force Mac OS X to notice a change.

Thanks for the pointer to RCDefaultApp; I use MoreInternet but always nice to have multiple choices.
FYI - for ppurposes of completeness I will add that today I found:
http://www.macosxhints.com/article.php?story=20020502091605391

and tried it with my user.js file under
~/Library/Application Support/Camino/user.js

setting:
   user_pref("network.protocol-handler.external.mailto", true);
   user_pref("applications.mailto", "/Volumes/HAL/Users/vlb/Applications/Netware/Eudora/
Eudora.app");


It didn't work, but I thought I'd mention it.
It's baaack.
I have installed the 10.3.7 upgrade to Mac OS X and once again, "mailto is not a
registered protocol".  I think we can stop blaming Eudora.

I'm not looking forward to jumping through all of the suggested workaround hoops
again. A little eye of newt and toe of frog might not hurt either.

Eyeiee!
My apologies. The problem is not "back". I move between "work" and "home" with
my home directory on an iPod.

I have not yet worked through the necesary rigamarole to fix the home machine.

APparently the plist in question is not in my personal Library.

Apologies for the scare. :-(
*** Bug 276260 has been marked as a duplicate of this bug. ***
Combining comment #5 with comment #10, the complete steps ()I finally did this
at home):

1.  Quit Eudora and Camino 
2.  Launch Mail.app 
2a. Change default email program to Mail.app (Preferences>>General)
2b. Quit Mail

3.  Launch Camino
3a. Click a mailto: link (it should bring up Mail) 
4. Quit Camino

5. In Mail, change default email program to Eudora 
6. Quit Mail

7. Launch Safari and click mailto: link 
   You should get a dialog "...will open Eudora for the first time"
8. Quit Safari

9. Launch Camino and click mailto: link 
   Eudora should open
*** Bug 281588 has been marked as a duplicate of this bug. ***
The problem here is that we're calling LSGetApplicationForURL() first, which
returns an error, so we bail. If we were to just go ahead and call
LSOpenCFURLRef(), then the OS would put up the "are you sure you want to run"
warning.
LSGetApplicationForURL is returning error kLSApplicationNotFoundErr, so I'm not
sure there's any way to fix this.
We should file a bug with Apple that LSGetApplicationForURL needs to return a
different error code in the case where the appliction exists, but hasn't been
run yet.
I filed radar bug 4034433.
One-step simpler workaround while Apple gets their act together (the latest
Security update blew me up again).

Quit Eudora.
Go to your Eudora Folder, most likely under Documents.
Go to your Mail Folder
Double-click your IN mailbox, forcing Eudora to launch from a document.
Agree with Apple's assertion that this will launch Eudora for the first time.
Quit Eudora because it probably launched the real binary deep down insde the
Contents of the .app Package.

Launch Eudora in the usual way and go on with your work.
p.s. I also filed two bugs with Apple that they don't properly update the
database when a user launches an app _from the app_ and that they lose the
Location data too frequently for comfort.

4014921   First-time-launch calculation is incorrect; loses data inappropriately
4014920   Problem with Launch Services causes mailto: protocol to become unset

The second is marked as a dup :^)
Any reason we can't just use -[NSWorkspace openURL:], or something like that?
Why can't we just let the OS do the work?
Because URL dispatching is done deep inside Gecko.
D'oh; duh.

One of those days for me, I guess.
Has anyone profiled iCab (it probably uses carbon LS) to see how iCab gets this
right? Just a thought from reading through this bug's comments...

It doesn't look like we have any good avenues for solving this bug soon without
a breakthrough idea so I'm moving it off of the 0.9 list. I haven't personally
tried to solve the problem or looked at the code though, so feel free to correct
me if I'm wrong.
Target Milestone: Camino0.9 → Camino1.0
Comment #20 describes the bug. We should test this on Tiger.
*** Bug 289855 has been marked as a duplicate of this bug. ***
Radar bug 4034433 was closed. Pushing off for now.
Priority: -- → P3
Target Milestone: Camino1.0 → Camino1.1
(In reply to comment #32)
> Radar bug 4034433 was closed. Pushing off for now.

Simon, does that mean this should work correctly in 10.4.x, or do we still have to change some code on Camino's end to make it work in 10.4 (and won't be able to fix it at all <10.4), or something else entirely?

This is one of our many lovely LaunchServices-related issues.
Summary: after installing upgrade to Eudora, "mailto:" links no longer work in Camino. → "mailto is not a registered protocol" sheet when clicking on "mailto:" links (after installing upgrade to Eudora)
Stuart, can you look at this?
QA Contact: os.integration
Don't think Pink is working on this. Simon, did you ever answer Smokey's comment 33, either on IRC or in e-mail? I haven't tried to reproduce on 10.4 yet but I also haven't seen any complaints about this to feedback in a long time, so perhaps it's been fixed in the OS.
Assignee: mikepinkerton → nobody
Status: ASSIGNED → NEW
Target Milestone: Camino1.1 → Future
My understanding of the change is that LSGetApplicationForURL no longer returns an error in this case in 10.4+, which fits with the fact that we don't see much of this any more. Closing, since there's nothing we can do on 10.3.
Status: NEW → RESOLVED
Closed: 20 years ago17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: