code-server version: 1.939-vsc1.33.1When using Safari or any application container that uses Safari as the engine (such as those generated by Unite or Fluidapp -- my favorite way to use code-server), highlighting text and pressing Cmd+C, Cmd+X, or choosing "Copy" or "Cut" from the Edit menu has no effect. Pasting after doing any of those things results in the previous contents of the clipboard being pasted. Chrome does not have this issue.
Thanks for this incredible project!
Playing around with different releases, this commit last night seems to be the culprit: https://github.com/codercom/code-server/commit/2bc6e1a457b4ca5298f5207d164a3699ec443bfc
Any update on a release date for this fix?
I'm also running into this and it's pretty annoying.
I managed to downgrade with out any problems - just use the same settings and execute the older build file. It鈥檚 not broken on the version below :)
I haven鈥檛 updated to the newer version yet as i鈥檓 sure this bug still exists.
Any workarounds for this in the short-term?
Long-term is downgrade to the version prior to this commit: https://github.com/cdr/code-server/commit/2bc6e1a457b4ca5298f5207d164a3699ec443bfc I mean you can always use another browser but I haven鈥檛 seen anything related to this within any commits yet.
So it's the copying that doesn't work while the paste works fine?
We try to use the clipboard API if navigator.clipboard exists (we call navigator.clipboard.writeText()). If permission has been denied it will fail silently (we need to add an error popup message for this).
If navigator.clipboard doesn't exist it inserts the text to copy into an input then runs execCommand("copy"). We should show a message when that fails, too.
Additionally, if permission has been denied we should fall back to the execCommand method (for both copy and paste).
Yeah i didn鈥檛 have a lot of time to dig that deep, but suffice to say, regardless of what鈥檚 supported, the current implementation results in a broken copy (as in I can鈥檛 even copy out of the editor to a notepad)
@code-asher I also get some errors such as:

when using the last version before copy and paste was broken.
Any update on progress? Really wanna update to see if it fixes the memory hog issue.
I have the save issue on IpadOS 13. With version 1.1156-vsc1.33.1. Can not copy or cut anything.
Just for iPadOS, I wanted to share a hack I've been using locally to achieve full clipboard functionality (please see the commit linked above).
Maybe it will be useful to anyone similarly desperate to access code-server on an iPad, but unfortunately in its current form it isn't pull-request appropriate. It's the best I could manage via editing the patch file by hand.
The copy/paste mechanism in question has been entirely replaced with v2 so I'm going to close this. The only clipboard issues I'm aware of now are #1106 and #1015.
Most helpful comment
Just for iPadOS, I wanted to share a hack I've been using locally to achieve full clipboard functionality (please see the commit linked above).
Maybe it will be useful to anyone similarly desperate to access code-server on an iPad, but unfortunately in its current form it isn't pull-request appropriate. It's the best I could manage via editing the patch file by hand.