question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Copy and Cut to Clipboard not working in Safari or App Containers like Unite/Fluid

See original GitHub issue
  • code-server version: 1.939-vsc1.33.1
  • OS Version: Ubuntu 18.04 LTS
  • Safari Version: 12.1 on macOS Mojave

Description

When 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.

Steps to Reproduce

  1. Copy text to your clipboard from any text file or website outside of code-server
  2. Open code-server in Safari and highlight text in an open file
  3. Press Cmd+C
  4. Press Cmd+V. The text copied in Step 1 will be pasted.

Thanks for this incredible project!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
admvxcommented, Jul 12, 2019

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.

2reactions
NGaratecommented, Jul 6, 2019

I have the save issue on IpadOS 13. With version 1.1156-vsc1.33.1. Can not copy or cut anything.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copy and Cut to Clipboard not working in Safari or ... - GitHub
When using Safari or any application container that uses Safari as the engine (such as those generated by Unite or Fluidapp -- my...
Read more >
Cut, copy, and paste between iPad and other devices
Cut, copy, and paste between iPad and other devices. You can use Universal Clipboard to cut or copy content (a block of text...
Read more >
Copy and Paste NOT working in Safari iOS 8.1
Copy and paste in Safari is STILL not working on iPhone 5. The black "copy/cut" and "paste" buttons often disappear in Safari before...
Read more >
Cut, copy, and paste between iPhone and other devices
Cut, copy, and paste between iPhone and other devices. You can use Universal Clipboard to cut or copy content (a block of text...
Read more >
Copy and Paste Problems | Apple Developer Forums
About 25% of the time I copy or cut some text in the main editor, when I go to paste, the clipboard's just...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found