Open Bug 255686 Opened 21 years ago Updated 4 years ago

application/x-moz-nativeimage *empty* when dragging or copying an image (outside of Windows?)

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect, P5)

x86
Linux
defect

Tracking

()

People

(Reporter: sebastien.laout, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: DUPEME)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 Hello, When I drag and drop an image to an external application, or when I copy / paste an image, the only way to get the image is through the application/x-moz-nativeimage MIME type. But associated data are of length... 0 byte ! At this rate, it's far difficult to even try to uncompress it ;-D And it works under Windows: A user of my program is used to this extention under Windows: http://extensionroom.mozdev.org/more-info/copyimage It add a popup menu item "Copy Image to Clipboard". When he tried it under Linux he asked me to add support for pasting this image in my application. The application/x-moz-nativeimage MIME type is the only one relevant and is empty. It's impossible for me. When dropping an image from Mozilla to my app, the application/x-moz-nativeimage is also empty. At least there is the URL of the image but it loss all the magic if I must re-download it. In hope it could be fixed before firefox 1.0 & co... At least by putting the image data, without regards of the MIME type of the image (a guess can be done by the receiver application), or by putting the real image MIME type as a source (eg. "image/png" if it's a PNG image...). I would want to make KDE classes to understand drops from Mozilla. And then be able to drop images in my program, in KolourPaint, in the desktop (KDesktop could then create a file to put the data here) , or in GNOME... It has no limit. Just that it currently provide no data. Reproducible: Always Steps to Reproduce: 1. Drag an image OR copy it (by http://extensionroom.mozdev.org/more-info/copyimage) 2. Drop it to an application (I suggest the one I created to debug drops ;-) http://les83plus.free.fr/sebastien.laout/dndskan/index.html ) 3. You will see the MIME type application/x-moz-nativeimage contain 0 byte: no way to get the dragged/copied image Actual Results: Nothing! Expected Results: Put the image data associated with the provided MIME type. Or put the real MIME type of the image (with the data, of course). It works under Windows but not in other OSes (I only have Linux but I guess it's the same for every UNIX or system running a X server).
Product: Browser → Seamonkey
*** This bug has been confirmed by popular vote. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: DUPEME
Is this just the Application Suite? Otherwise please set the product/component correctly.
Assignee: general → nobody
Component: General → Drag and Drop
Product: Mozilla Application Suite → Core
QA Contact: general → drag-drop
Version: Trunk → unspecified
Anyone still seeing tyhis bug (and on which current build)?

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
Depends on: 1728425
You need to log in before you can comment on or make changes to this bug.