code-server icon indicating copy to clipboard operation
code-server copied to clipboard

iOS copy and cut keyboard shortcuts are not working

Open schradeyannik opened this issue 7 years ago • 98 comments

  • code-server 1.1156-vsc1.33.1
  • OS Version: iPadOS 13.1 Beta 4 (on iPad Pro 2018 12.9)

Description

The keyboard shortcuts for copying and cutting text don‘t work. Changing the shortcuts in the code-server settings to something different of „cmd+c“ and „cmd+x“ does not help.

Steps to Reproduce

  1. Open and edit a file.
  2. Try using „cmd+c“ or „cmd+x“.
  3. Change the shortcuts in the settings.
  4. Fail again.

schradeyannik avatar Sep 20 '19 20:09 schradeyannik

@nhooyr

As @wei said, it doesn't seem to be fixed in 1.48.2. We should hope the master's commit is released.

daybrush avatar Sep 02 '20 02:09 daybrush

Good news August 2020 milestone is in endgame. They are targeting next Wednesday/Thursday for release. Let's hope code-server team can bump up vscode version quicker this time 😉

wei avatar Sep 02 '20 03:09 wei

looks like copy paste work well in the app https://apps.apple.com/us/app/servediter-for-code-server/id1504491325

keiqsa avatar Sep 07 '20 16:09 keiqsa

@keiqsa are you using a self hosted instance of code-server with the Servediter app or their hosted service? I tried to get the app to connect to my self hosted server, but it didn't work. Their app seems really buggy in general.

christianjuth avatar Sep 07 '20 17:09 christianjuth

@christianjuth It's a little buggy if you mess up the self hosted options. I got caught in a some kinda auth loop a few times and had to uninstall/reinstall to clear the settings. But once it's connected I've run self hosted for a while with no issues. Ended up turning auth off since I only have it exposed in my home network anyway.

dasalazar1 avatar Sep 07 '20 17:09 dasalazar1

I use that app heavily due to it having a working copy/paste. My only gripe about it is that the app refreshes when switching to other apps, losing my open terminals and what not.

demyxco avatar Sep 07 '20 17:09 demyxco

@demyxco As far as I know that's an iOS limitation. Something about how long apps can retain state or activity in the background. I've had that complaint from other apps that do terminals. Textastic seems to be able to keep them open a bit longer but still not great.

dasalazar1 avatar Sep 07 '20 17:09 dasalazar1

@dasalazar1 right, those other apps uses the location feature to prevent the app from refreshing. Maybe implement the same? The other thing also is scrolling loses it’s scroll momentum but I think that’s an upstream issue.

demyxco avatar Sep 07 '20 17:09 demyxco

@demyxco hmm okay. I didn't know that was the work around. There's issue #1455 for scrolling with trackpad. Not sure about the momentum.

dasalazar1 avatar Sep 07 '20 17:09 dasalazar1

Good news August 2020 milestone is in endgame. They are targeting next Wednesday/Thursday for release. Let's hope code-server team can bump up vscode version quicker this time 😉

My hopes are so high for today, Thursday.

0x4007 avatar Sep 10 '20 05:09 0x4007

code-server: v3.5.0 VS Code: v1.48.2 Commit: de41646fc402b968ca6d555fdf2da7de9554d28a Date: 2020-08-31T09:43:23Z Browser: Mozilla/5.0 (iPad; CPU OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/85.0.4183.109 Mobile/15E148 Safari/604.1

Have same problem

magicds avatar Sep 30 '20 16:09 magicds

Merged the latest VS Code, will be in 3.6.0 very soon. Keep an eye on the milestone to see progress.

code-asher avatar Oct 07 '20 18:10 code-asher

Merged the latest VS Code, will be in 3.6.0 very soon. Keep an eye on the milestone to see progress.

It works!

kennymatic avatar Oct 16 '20 21:10 kennymatic

@keiqsa are you using a self hosted instance of code-server with the Servediter app or their hosted service? I tried to get the app to connect to my self hosted server, but it didn't work. Their app seems really buggy in general.

It's been a while but I wanted you to know that I am using self-hosted server and it works well for me. I've just tried it /w code-server 3.3.1.

enesccinar avatar Feb 18 '21 20:02 enesccinar

The issue still exists in v4.0.1.

I can't use cmd+[X/C/V] to cut/copy/paste the entire line from PWA on iPad. The only solution here is still Servereditor app.

ManiaciaChao avatar Jan 17 '22 07:01 ManiaciaChao

@ManiaciaChao can you provide a video? I could have sworn this was fixed now

jsjoeio avatar Jan 18 '22 17:01 jsjoeio

@ManiaciaChao can you provide a video? I could have sworn this was fixed now

Thanks for your reply :) I've sent the video directly into your Gmail. Plz check.

ManiaciaChao avatar Jan 19 '22 05:01 ManiaciaChao

@ManiaciaChao can you post it here instead please? That way, everyone can see it!

jsjoeio avatar Jan 19 '22 20:01 jsjoeio