Make sure URLS dragged to the desktop on Mac OS create the right kind of shortcut

RESOLVED FIXED

Status

()

Core
XUL
P3
normal
RESOLVED FIXED
18 years ago
17 years ago

People

(Reporter: Andrew Thompson, Assigned: Paul Chen)

Tracking

Trunk
PowerPC
Mac System 8.5
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
Type finger:johnc@idsoftware.com into Mozilla, on Mac OS, and be greeting with
John Carmack's .plan file. Cool.

Now drag this URL to the desktop - you get an invalid "email type" Internet
shortcut.

Here are the valid internet shortcut types on Mac OS :

kInternetLocationHTTP
kInternetLocationFTP
kInternetLocationFile
kInternetLocationMail
kInternetLocationNNTP
kInternetLocationAFP
kInternetLocationAppleTalk
kInternetLocationNSL
kInternetLocationGeneric

I guess things like finger: should come out as kInternetLocationGeneric

Comment 1

18 years ago
I think the Finder does all the magic to create URL shortcut files, not Mozilla. 
All it seems from us is a text clipping containing a URL.
(Reporter)

Comment 2

18 years ago
Found some documentation:
http://developer.apple.com/technotes/tn/tn1142/part05.html

Might be worth creating these drops with type 'url ' and seeing if its any 
brighter at working the type to create out.

Also, when you create the Window Proxy Icon in the title bar (not currently 
implemented), you can specify the type of that icon - so maybe useful there?

Comment 3

18 years ago
An application really has no control over this. finger is an unsupported
protocol so I don't believe you'll ever get a finger: URL clipping. I'm not
aware of any current use for kInternetLocationGeneric. The OS is botching the
job by creating a mailto: location clipping, not Moz.

Comment 4

17 years ago
->pchen

Paul, likely INVALID or WONTFIX?
Assignee: law → pchen
(Reporter)

Comment 5

17 years ago
Just tested this with NS6.1. Behaviour for all supported types looks good, and as 
people say shortcomings are with OS, not MOZ. INVALID is fine 
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.