Skip to content
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

Draging a File into the Editor Opens File _and_ Pastes Text #12748

Open
tsmaeder opened this issue Jul 24, 2023 · 1 comment
Open

Draging a File into the Editor Opens File _and_ Pastes Text #12748

tsmaeder opened this issue Jul 24, 2023 · 1 comment
Labels
bug bugs found in the application dnd issues related to drag & drop editor issues related to the editor

Comments

@tsmaeder
Copy link
Contributor

Bug Description:

When dragging a file form the OS file explorer into a text editor, we should either paste the contents of the dragged file into the editor or open the file in a new editor. Right now, we do both. VS Code differentiates between the cases by pasting if the shift key is pressed during drop.

Steps to Reproduce:

  1. Open a text editor
  2. Drag a text file into the editor: note that you get a visual indication of the drop location
  3. Drop the file
  4. Observe: the file contents are pasted at the drop location, but also a new editor with the dropped file is opened.

Additional Information

  • Operating System: Win 11
  • Theia Version: 1.39.0 master
@tsmaeder tsmaeder added bug bugs found in the application editor issues related to the editor dnd issues related to drag & drop labels Jul 24, 2023
@yanquer
Copy link

yanquer commented Mar 28, 2024

It has not been solved so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application dnd issues related to drag & drop editor issues related to the editor
Projects
None yet
Development

No branches or pull requests

2 participants