Files icon indicating copy to clipboard operation
Files copied to clipboard

Bug: Drag and drop to some apps still fails

Open hishitetsu opened this issue 2 years ago • 3 comments

Description

#11728 improved drag and drop for several apps, including WhatsApp, but we know that drag and drop still does not work for some apps (Notepad, XShell, etc.). Also, #11728 doesn't improved it for virtual files that do not exist on the file system, such as files in archives.

Steps To Reproduce

(Same as #10171)

  1. open xshell and files app
  2. drag a file to xshell

Requirements

Drag and drop should work for all apps and all files, including virtual files.

Programs to fix

  • [ ] Notepad
  • [ ] Notepad ++
  • [ ] Xshell
  • [ ] Coral DAW
  • [ ] Coral Video Studio
  • [ ] Phone link
  • [ ] Microsoft Visio
  • [ ] FL studios

Files Version

2.4.52.0

Windows Version

10.0.22621.1413

Log file

n/a

hishitetsu avatar Mar 15 '23 22:03 hishitetsu

Can confirm it won't work with Notepad++ either.

Laiteux avatar Jul 13 '23 22:07 Laiteux

Dragging file to Microsoft Visio window also fails

chhus avatar Jan 02 '24 12:01 chhus

Clipboard WinRT class probably generates incompatible format with some apps or we're doing in a wrong way. Like the author of #12784, we probably might want to use Win32 drag APIs for this as almost all of them listed are Win32 apps probably in IWindowsClipboardService unless we found we were doing in a wrong way. Here's the overview MSDN.

0x5bfa avatar Aug 26 '24 18:08 0x5bfa