Closed chipbite closed 1 month ago
Hi,
Could you attach video showing all steps and the result? I couldn't reproduce with diagrams.net 16.6.5. Tried using two diff browsers (Chrome Version 98.0.4758.102 (Official Build) (64-bit) and FF 97.0.1 (64-bit) Also tested wih 2 editors in Chrome and in both cases Pase here pasted object 2.
If you clear browser cache does it help?
Hi! Here is a simple clip showing just the issue.
It does not appear consistently. I do not know exactly how to setup to reproduce. It may be an issue between instances in confluence -> web? So far, I have not tested with different browsers, only chrome. The issue has been around for a looong time - over different chrome versions. So, I dont think chrome browser version is a key aspect.
Longer example with workaround shown:
We use different “clipboards” for copy/paste via keyboard and copy/paste via menus so “paste here” only works when copy was used from menu. Also the menu clipboard is only available in the same tab, the real (keyboard) clipboard is system-wide.
No, you're wrong or inaccurate here.
We use different “clipboards” for copy/paste via keyboard and copy/paste via menus so “paste here” only works when copy was used from menu.
This statement is not accurate. Easy to check/verify:
Also the menu clipboard is only available in the same tab, the real (keyboard) clipboard is system-wide.
I dont quite understand this point, but since your first is not accurate, I suspect this one is also not accurate.
The issue remains, as it has for quite some time.
This works for me: Copy object 1 in Editor A, then copy object 2 in editor B, paste in Editor A pastes object 2, then undo and paste here in Editor A pastes object 2 (again) as expected.
This works for me: Copy object 1 in Editor A, then copy object 2 in editor B, paste in Editor A pastes object 2, then undo and paste here in Editor A pastes object 2 (again) as expected.
Yes, that is correct, I tried to get across that this issue is not consistent. I get the point, I will clarify the report a bit to say that earlier/in the report, sorry for the confusion. I will also try a few things to see if I can identify some consistency for repro.
Maybe the issue could be exarcebated or even caused by confluence editor <-> web editor?
A common (perhaps primary for me, even) use case for copying between editor is this: I have some work offline that I want to copy into the diagram editor in confluence. So I will open the diagram in confluence and paste into it, content from a web editor with some local/file content opened.
Just reproduced with edge, which I never use, and the issue is reproducible, image:
Will also now try with firefox.
Using two firefox windows. Confluence drawio editor to the left and web app to the right. Paste here is not shown after just copying a shape from the confluence editor.
ctrl-v works consistently, always.
After clipboard is filled locally in the right editor, paste here is shown:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.
Preflight Checklist
Paste here does not work from another editor, only paste works
Copy stuff from another editor/browser/instance of draw.io, can only paste using paste/ctrl-v, paste here paste:s whatever was last copied in the same diagram. Two clipboards that are not aligned when pasting from another instance, maybe?
This may be limited to when using an drawio/diagrams.net editor in confluence <-> and a web app editor.
To Reproduce
Edit: The issue is not consistently appearing, in some instances it works as expected.
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context Its been this way forever. Just haven't gotten around to reporting it. 😄 Note again: This is inconsistent, repro not clear.