Bug 549661 - [Win32][DND] FileTransfer can not drop on Portable Device
Summary: [Win32][DND] FileTransfer can not drop on Portable Device
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows All
: P3 normal (vote)
Target Milestone: 4.13 M3   Edit
Assignee: Paul Pazderski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-30 10:26 EDT by Paul Pazderski CLA
Modified: 2019-08-19 10:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pazderski CLA 2019-07-30 10:26:51 EDT
See also bug 549643 comment 5.

A Portable Device is e.g. an Android smartphone attached trough MTP or PTP.

The old FileTransfer before bug 547634 could not drag files to Windows Explorer where a Portable Device is the drop target. After adding CFSTR_SHELLIDLIST support the Explorer signals to accept the drop but the actual transfer fails always.

It seems as if the target does not like the fake PIDLs we create for ShellIDList. (for details see bug 547634 comment 5ff)

A solution might be to extend our native PathToPIDL function to create real PIDLs and only if that fails (usually if the file does not exist) create fake PIDLs.
Comment 1 Eclipse Genie CLA 2019-08-11 17:08:40 EDT
New Gerrit change created: https://git.eclipse.org/r/147516