hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

Cannot copy a shape from .drawio file to another .drawio file #334

Open richelin opened 1 year ago

richelin commented 1 year ago

Steps to reproduce.

  1. Open a .drawio.svg file in one window of VS Code
  2. Open a new .drawio.svg file in a new tab in VS code
  3. Right click copy on a particular shape and click copy
  4. Right click on a the other file that is opened on another tab and click on paste here and notice the shape is not copied.

Expected Behavior: The shape or object is copied to the correct place. This work fine if you are copying within the same file or different page on the same file but not if the copy has to be inside another file. This limitation is not present on draw.io for windows.

hediet commented 1 year ago

Your OS is not windows, right? Does also reproduce with the draw.io website on your OS?

It works for me on Windows.

etse1288 commented 10 months ago

it seems like if the file is of .drawio extension then copy-and-paste works. if i name the file with .drawio.svg then it won't work. i am using Windows.