iOS copy and cut keyboard shortcuts are not working
code-server1.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
- Open and edit a file.
- Try using „cmd+c“ or „cmd+x“.
- Change the shortcuts in the settings.
- Fail again.
please use desktop mode in safari. trun on : Setting—Safari—Request dessktop website
@schradeyannik AFAIK we do not support Safari in mobile mode, try using the Desktop mode. We have no plans to support mobile UAs due to Monaco's limitation.
@sr229 @phoenixsfly The desktop mode is activated. The mentioned keyboard shortcuts do not work in desktop mode.
Try using Control + C and Control + V
@mattapperson This does not work either.
Will test and get back to you.
Any update on this bug? I’m having the same issue. iOS 13.3 iPad Air version 3.
Edit: So this is only in V3. Using the last build of V2 I’m having no issues with cut/copy/paste
@dasalazar1 not much of an update. Seems like more and more people wanna try this workflow, so we might prioritize it.
@code-asher we use the clipboard API right? So maybe we just have to adjust the keybind if they're on an iPad.
For the terminal it uses the clipboard API if it can but for the editor I don't think it does. I think it just uses native paste there.
Ah. I assume we could patch that quite easily.
Same behaviour here. iPad Air 3, iOS 13.4
I just tried out the last V2 and it works there.
Using a V2 is the only workaround currently? (no copy/paste makes development work defacto impossible :)
Seeing the same behavior. If it is a quick patch would love to see this fixed!
Same for me even when using Chrome.
Would love a fix for this.
FYI a simple workaround I’ve used is to highlight the text, cmd+f, and then you can immediately cmd+c out of the search bar. Paste works as expected. This doesn’t solve cut, but it’s pretty usable
That’s a brilliant temporary “fix”. Thank you.
Cmd + Shift + F allows you to copy entire blocks too.
I'm pretty sure this is because WebKit doesn't let us override copy/paste on mobile unfortunately.
I'm pretty sure this is because WebKit doesn't let us override copy/paste on mobile unfortunately.
On iOS the copy button is just greyed out. It’s like text selection doesn’t recognise that text has been highlighted in the editor view. Paste does work already if you’ve got something in the clipboard.
Even from the context menu (Right button click) it does not work.
I'm pretty sure this is because WebKit doesn't let us override copy/paste on mobile unfortunately.
I’m not sure about this, considering that there is a working workaround and some reports V2 was working... Let’s keep finger crossed!