Files
Files copied to clipboard
Bug: Drag and drop to some apps still fails
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)
- open xshell and files app
- 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
Can confirm it won't work with Notepad++ either.
Dragging file to Microsoft Visio window also fails
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.