Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 132514

Summary: [DND] SWT does not accept files dragged from Microsoft Outlook and Entourage
Product: [Eclipse Project] Platform Reporter: Alexey Kharlamov <aharlamov>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Kevin Barnes <cocoakevin>
Severity: normal    
Priority: P3 CC: duongn, eclipse.felipe, eric, helmut.haigermoser, liuj1, mober.at+eclipse, snorthov, Srilekha.r, veronika_irvine
Version: 3.2Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
Drop of embedded files
none
Embedded files support patch (uncompressed) none

Description Alexey Kharlamov CLA 2006-03-20 03:36:57 EST
Both Outlook on Windows and Entourage on Mac do not transfer files. Instead of this they use a 'promise' on a file. So additional handling must be added into FileTransfer for these cases.
Comment 1 Alexey Kharlamov CLA 2006-03-20 04:29:57 EST
Created attachment 36592 [details]
Drop of embedded files 

The patch was maid against SWT 3.122
Comment 2 Alexey Kharlamov CLA 2006-03-20 04:34:50 EST
Created attachment 36593 [details]
Embedded files support patch (uncompressed)

The patch was maid agains SWT 3122.
Comment 3 Alexey Kharlamov CLA 2006-11-19 10:58:59 EST
Any progress with the bug? I can provide a patch agains SWT 3.2. Any changes it will be included into 3.3?
Comment 4 Duong Nguyen CLA 2008-10-22 16:00:24 EDT
*** Bug 238973 has been marked as a duplicate of this bug. ***
Comment 5 Martin Oberhuber CLA 2010-07-22 16:21:37 EDT
CQ:WIND00224041

As an Eclipse for C/C++ user, I want to take a .c file attached to an E-Mail in Outlook and drag it either (a) into the editor area for viewing, or (b) into a folder in the Project Explorer for adding to my project.

This would be a great usability enhancement for team collaboration. Currently it fails; when dragging into the editor area it's particularly annoying since a "copy" feedback hint is given for drop, but then only a space character gets dropped.

DND "promises" seem to be the "drag into Eclipse" counterpart of what bug 196176 requests when dragging "out of Eclipse".

Could this patch be considered for Eclipse 3.7 / 4.1 ?
Comment 6 Helmut J. Haigermoser CLA 2011-07-20 13:24:28 EDT
*ping*
Can you check the provided patch, and consider it for 3.7/3.8?
TIA,
Ciao, hh
Comment 7 Helmut J. Haigermoser CLA 2011-08-22 09:54:37 EDT
(In reply to comment #6
*ping*
*traceroute* ;)

Can we get a technical comment from the swt team about this one?
Let me know if there is anything we can do to help speed up a fix in this area! :)
Helmut
Comment 8 Felipe Heidrich CLA 2011-08-24 15:58:17 EDT
Can you point to doc that describes what a 'promise' on a file is ? and how to implement it ?
The patch is out of date and very large, too hard to see what the code is doing.

Note, this bug is not in the plan which means we might not have the resource to implement this feature (depends on the size of the work).

Other problem is that we don't have Outlook around here, I would need to check around here if I can install it. Do you know if the Express version has the problem ?
Comment 9 Alexey Kharlamov CLA 2011-08-25 04:18:46 EDT
I am not remember precisely. The bug have been reported too long ago...

The problem does not occur with Outlook Express. The patch basically implements new trasfer type. 
On MacOS X this is file promise.
http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/DragandDrop/DragandDrop.pdf

On Windows it projects to CFSTR_FILECONTENTS and CFSTR_FILEDESCRIPTOR
http://msdn.microsoft.com/en-us/library/bb776902(v=VS.85).aspx#CFSTR_FILECONTENTS
Comment 10 Srilekha r CLA 2017-07-14 08:00:17 EDT
Hi,

Is there any working patch for the issue. any tentative date for the fix.
Comment 11 Leo Ufimtsev CLA 2017-08-03 12:32:23 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 12 Eclipse Genie CLA 2020-07-03 03:24:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.