Open eszkadev opened 1 month ago
https://github.com/CollaboraOnline/online/pull/10160 didn't show the warning in this case. cc: @vmiklos
Did you use the paste button to paste or Ctrl-V? The Ctrl-V case is good enough (we have the magic security context) and there is no reason to try the new async clipboard, so there we only pick that codepath if pasting the old way fails. This is in contrast to the paste button or copy, where the new async clipboard has advantages. The above PR only modifies the copy behavior; if there is a need something similar can be done for the "paste with button" case.
And of course the actual problem is why paste fails, that's a problem to be investigated on its own. :-) Thanks.
Edit: maybe clarify both sides: how do you copy (keyboard vs notebookbar vs context menu) and how do you paste.
I always used keyboard: ctrl+c
, ctrl+v
Hm, interesting. I think I tried to follow your steps:
1) Disable SSL in coolwsd.xml. 2) Load your bugdoc into COOL, using an actual IP address (not localhost). 3) Select the only shape in the document. 4) Press Ctrl-C
In both Chrome and Firefox I get output like this (screenshot is from Firefox):
Most probably there is some detail that I miss. :-)
Describe the Bug
Problem with copy from one document instance and paste to the another one.
Steps to Reproduce
broken-save.odt
Expected Behavior
Shape is pasted correctly.
Actual Behavior
Shape is not pasted. Browser logs:
More interesting is core log with exception:
Additional Context
I used COOL inside Nextcloud