-
Notifications
You must be signed in to change notification settings - Fork 93
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
Unable to drag and drop files into file explorer #5266
Comments
Notes:
|
same in Mac, can't copy a file from Finder into the Explorer pane (or cmd-C/paste for that matter.). It does work when dragging/dropping files from one Positron window to another. MacOS Sequoia 15.2 Positron Version: 2025.01.0 (Universal) build 39 |
I have the same on Windows 11. I cannot drop from File Explorer into the project. Type of file, size of file, nothing seems to matter why not. Positron Version: 2024.12.0 (system setup) build 96 |
I can Cmd+C copy the file from Finder on mac, and Cmd+P paste the file when focused on Positron Explorer folder, but not dragging with the mouse. Dragging does work in VSCode, and this is indeed a Positron regression. |
I believe this regressed in 2024.09.0 build 62. At this time, we merged upstream Code OSS v1.93 as well as PWB details. It may be that
|
This change addresses an issue that prevents file drag-n-drop from working in the Explorer view. The problem was that there was no Electron implementation of the accessors that Posit Workbench uses to check for file upload/download permissions. Consequently, in desktop mode these accessors did not work. The fix is to add accessors to the native (Electron) version of the environment service. Addresses #5266. ### Release Notes #### New Features - N/A #### Bug Fixes - Fix file drag and drop into the Explorer view (#5266) ### QA Notes This change doesn't touch the logic for Workbench so testing desktop should be sufficient.
Verified Fixed
Test scenario(s)Drag and drop works now. Link(s) to TestRail test cases run or created: |
Noticed on Positron Dev on 10/31, but not sure when this started occurring. I believe this worked in the past?
Steps to reproduce the issue:
Expected or desired behavior:
folders/files to appear in file explorer
Interpreter details:
N/A
Were there any error messages in the UI, Output panel, or Developer Tools console?
None
The text was updated successfully, but these errors were encountered: