Open
Bug 189932
Opened 22 years ago
Updated 3 years ago
Provide multiple data types (flavors) when mail message dragged out of program (text/plain, text/rfc822-headers, etc)
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, enhancement, P5)
Core
DOM: Copy & Paste and Drag & Drop
Tracking
()
NEW
People
(Reporter: heiko, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 I am developing an application which can configure a spam filter (popsneaker). The application uses the Qt toolkit. My idea is, that somebody starts my application and drops the annoying mails on them. My application, than analyses the header of the dropped mail and creates an filter rule for it. For this I need to drag at least the header of the mail directly from the thread view to my application. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 1•22 years ago
|
||
Is this not already possible ? Jst drag the email from the thread pane, and drop it on yor program.. shold work, IIRC.
Reporter | ||
Comment 2•22 years ago
|
||
Hello, no, I get a mime-type x-moz-message. If I decode it it reads like a url or id. I guess it is the message id.
Comment 3•22 years ago
|
||
Oh.. well, I'm not on a compter right now, I'm in the army, using one of those 'thin client' systems, so I can't test this.. But; if I drag a message from mail/news, and drop it into Windows Explorer, does it not save the message as .eml in the destination folder (which is a complete email, IIRC) ? I could be wrong :)
Reporter | ||
Comment 4•22 years ago
|
||
Hello, Possible, but I'm working under Linux. I tried it with Konqueror (the Linux/KDE Explorer). With the same result. Qt uses XDND (http://www.newplanetsoftware.com/xdnd/). As I understand this protocol (Standard on Unix) can send several mimes at one time. This means, it should be possible to extend the existing Mozilla DND by just sending additionally the text als a text/plain mime.
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•19 years ago
|
Assignee: sspitzer → mail
Comment 5•19 years ago
|
||
For the case of copying message headers only (is that what reporter is looking for?), there is a MIME type defined in RFC 1892: text/rfc822-headers While the entire message could be transported as message/rfc822, that would require the program accepting the drop to know how to handle it. Moz could also provide text/plain and possibly even text/html (if provided in the message). If you allow drags of HTML, then you also get into the issues of dragging along embedded images and other data objects; this would require multipart/related data objects which, again, might not be supported by the drop target. xref bug 253697. (In reply to comment #3) > ... if I drag a message from mail/news, and drop it into Windows Explorer, > does it not save the message as .eml in the destination folder (which is a > complete email, IIRC) ? I could be wrong :) You are wrong; see bug 59622 (Win) and bug 128318 (Mac). See also bug 11013, bug 101111, bug 159446, bug 171907.
Assignee: mail → nobody
Status: UNCONFIRMED → NEW
Component: MailNews: Main Mail Window → Drag and Drop
Ever confirmed: true
OS: Linux → All
Product: Mozilla Application Suite → Core
QA Contact: laurel
Summary: Drag & Drop of message TEXT (not only message id) → Provide multiple data types (flavors) when mail message dragged out of program (text/plain, text/rfc822-headers, etc)
Comment 6•19 years ago
|
||
*** Bug 218587 has been marked as a duplicate of this bug. ***
Comment 7•19 years ago
|
||
I would expect the text/plain data to be same as would be in a file if the message is saved as plain text. That would mean (currently) the text would include whichever headers are displayed.
Updated•15 years ago
|
QA Contact: drag-drop
Comment 8•3 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•