-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DND to download out of remote doesn't work #116989
Comments
Yeah we could not get this to work via the chrome data transfer protocol, thus we adde the download action as an alternative solution sort of. |
It also is not working for Desktop + SSH for me right now, which I think used to work? But in cases where we know it doesn't work is it possible to disable the DND entirely? |
Yeah we should disable when we know it does not work, there is another issue for this. |
Desktop + SSH no longer works because previously we had code that handled VS Code remote resources here. However @alexdima removed that code because it was a temporary workaround and there are no plans to support this again. As for the drag and drop from Codespaces, the following happens: we detect a remote scheme and write the We can not disable the DND entirely because it is still possible to DND inside the explorer from one folder to another. And when the user starts the drag we do not know where he will want to drop.. |
@isidorn only in the desktop case: the |
I think why this happens is the interesting question because the code seems to be doing the right thing: vscode/src/vs/workbench/browser/dnd.ts Line 277 in 7a76757
Specifically I believe this may be an issue with service workers implementing that file access in the Codespace case (e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=741778&q=service%20worker%20download&can=2) |
Just for reference, here's the example HTTPS URI that gets created when I DnD an
|
This may require a service worker to be running to implement the //cc @legomushroom |
Drag a file from the explorer to Finder
It tries to download, but the browser says "Couldn't download - No File"
But right click -> download works fine
The text was updated successfully, but these errors were encountered: