Closed
Bug 189006
Opened 22 years ago
Closed 22 years ago
drag and drop of image doesn't set file type
Categories
(Camino Graveyard :: Drag & Drop, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 167962
People
(Reporter: njriley, Assigned: sfraser_bugs)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20030113 Chimera/0.6+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20030113 Chimera/0.6+
Some images do not have an extension; Chimera just uses the last portion of the
URL minus query string to create a filename. It does not set the type or
creator of the file, so the image may not be openable by any known application
(best case) or be completely incorrectly bound in the case of, for example, a
JPEG whose filename ends in .txt.
This appears to be a uniquely Chimera issue; I tested Mozilla, but its behavior
dragging images is far worse: it creates a "Picture clipping" that when opened
only shows the URL of the image.
Reproducible: Always
Steps to Reproduce:
1. Go to the above page.
2. Drag the image to the desktop (or location of your choice).
3. Examine the created file; attempt to double-click the resultant image.
Actual Results:
Preview opened but no image appeared. The file appeared as a generic document
named "image-display".
Expected Results:
Use Internet Config to look up the MIME type of the image and set the
appropriate file type if available. Internet Explorer and OmniWeb do this; iCab
also sets the creator, which I believe is not recommended on OS X; and Safari
exhibits the same wrong behavior as Chimera.
Here's the metadata for the files generated by dragging the above mentioned
image from Chimera, Mozilla and iCab.
Chimera:
/Users/nicholas/Desktop/image-display: document
type: '' creator: ''
kind: Document
data fork size: 56.0 KB on disk (54885 bytes used)
created: 1/14/03 2:33:00 AM
modified: 1/14/03 2:33:00 AM
accessed: 1/14/03 2:33:00 AM [only updated by Mac OS X]
Internet Explorer (OmniWeb is similar but does not set the creation date or add
a preview in the resource fork):
/Users/nicholas/Desktop/image-display: document
type: 'JPEG' creator: ''
kind: JPEG Image
data fork size: 56.0 KB on disk (54885 bytes used)
rsrc fork size: 156.0 KB on disk (157154 bytes used)
created: 11/5/02 11:50:19 AM
modified: 1/14/03 2:22:03 AM
accessed: 1/14/03 2:22:03 AM [only updated by Mac OS X]
iCab:
/Users/nicholas/Desktop/image-display: document
type: 'JPEG' creator: 'prvw'
kind: JPEG Image
data fork size: 56.0 KB on disk (54885 bytes used)
created: 1/14/03 2:36:49 AM
modified: 1/14/03 2:36:49 AM
accessed: 1/14/03 2:36:49 AM [only updated by Mac OS X]
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 167962 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•