-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Drag and Drop "dotfile" to File Explorer creates file without leading "dot" #67176
Comments
Can you reproduce this with latest vsocde insiders? |
Yes, tested with: |
Sorry for the slow response.I can not reproduce this. |
I can repro this both on Mac and Win. |
@isidorn that is not the transfer relevant for the native explorer, can you check this line instead: event.dataTransfer.setData(DataTransfers.DOWNLOAD_URL, [MIME_BINARY, basename(firstSource.resource), firstSource.resource.toString()].join(':')); |
This also happens when dragging from VSCode to Directory Opus so I don't think it's specifically an Explorer bug. |
@bpasero that line looks decent. The basename correctly returns |
@isidorn this could easily be an Electron issue, so the easiest would be to spin up Electron Fiddle and just try to reproduce with a simple test case that involves a file with leading dot. |
@christianzingg This is an electron issue. I was kind enough and filled this electron/electron#17394 |
Triage: the linked electron issue was closed without resolution on account of the age. Perhaps it should be reopened if this wasn't fixed by newer electron releases? |
@wmertens If you can please create a new issue in the electron repository. |
@isidorn if you can reproduce it in a recent version, you should be able to reopen your original issue. I was just doing a drive-by triage |
Issue is in chromium runtime and is present in recent versions as well. |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: