-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iPadOS] Copy-paste to terminal is not working on iPad #3491
Comments
@alexey1966 can you please redo your issue description and fill out the bug report? That way we can look into this. Thanks! |
I am noticing this as well. Here is a video to reproduce, using iPadOS 15. Occurs when using the keyboard shortcut CMD+V to paste RPReplay_Final1632785171.mp4I can create another issue with the template, if helpful. |
Copy also does not work with CMD+C in the terminal |
@bpmct does this only happen you're multitasking (dual screen)? |
Also occurs when swiping from screen to screen. |
I have this issue and a few other weird key binding issues on an ipad pro (2020) + magic keyboard (folio) Sometimes a window refresh (ctrl+r) resolves it... sometimes I have to close the browser (safari) and reopen it to clear the issue. What I notice is:
Ping me if you'd like any videos of this behavior. Or any other debugging info. BTW - thanks for the awesome project! I love it 👍🏻 |
@slimdevl thanks for the details! Videos would be super useful. I'll have to try my ipad pro and see if I get the same behavior. I assume this is on 4.0.1, yeah? |
Yes, it is 4.0.1. I will capture a video today (hopefully) to share with
you.
…On Wed, Jan 12, 2022 at 6:42 PM Joe Previte ***@***.***> wrote:
@slimdevl <https://github.com/slimdevl> thanks for the details! Videos
would be super useful. I'll have to try my ipad pro and see if I get the
same behavior. I assume this is on 4.0.1, yeah?
—
Reply to this email directly, view it on GitHub
<#3491 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARZ2YQAX55BA7GEXDFAVPTLUVYGX3ANCNFSM45UBLSVA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
Just to bump this issue - iPad + Safari still cannot properly paste in the terminal.
|
A comment upstream suggests unbinding Not sure though...if you can reproduce on vscode.dev or Codespaces I recommend you report it upstream. |
I'm having this issue. Fwiw, pasting in the terminal works fine (as far as I can tell). Copying in the terminal is the issue. If I copy something from anywhere else, say in the editor, it will paste into the terminal just fine (using Cmd-V). When I then try to copy something in the terminal (using Cmd-C or Copy in the menu), then hit Cmd-V to paste it, it continues to paste what was already in the clipboard from the editor. Iow, the clipboard was not updated with the Cmd-C selection in the terminal. I can use Cmd-F which opens the search bar and populates it with the selected text and then Cmd-C on that. That works as a workaround. But I cannot Cmd-C anything in the terminal itself. I enabled Copy on Selection in Terminal settings. When I first go into a terminal, I can select something and it goes to the clipboard and I can paste it. But it only works once. After that one time, it does not work again (until I kill and launch a new terminal). I have modified keyboard shortcuts (I removed Cmd-C as the shortcut for copying in the terminal). This has no effect. And I modified Terminal settings like Commands to Skip Shell making sure terminal copy and paste are skipped and also making sure they are not skipped -- behavior is the same either way. I have tried Safari, Chrome and Firefox on the iPad and all behave exactly the same -- that is, copy does not work in the terminal. If I access Github Codespaces from my iPad, copy-paste work fine. Also, if I use a remote tunnel with vscode.dev, and use my iPad, copy-paste work fine. Also I accessed code-server from a Windows machine using Firefox, and copy-paste worked fine. So it appears to be an iPad issue. Hope this helps. |
Interesting, Codespaces works but not code-server? Is the version of code-server you are using bundle the same version of VS Code that Codespaces currently does? We use the same web version of VS Code that Codespaces does so it does seem strange if it is only broken in code-server. |
I'm using the latest Docker container image to test it. codercom/code-server. It's at 4.93.1. I also installed it directly without using a container image, just to see if it makes a difference, and it does not. Behavior is the same either way. |
Hm, so the same version of VS Code currently used in Codespaces then. I am not sure what we could have changed to break it on iOS. You are using https, right? I think they use the clipboard API so it requires a secure context. Unfortunately I do not have an iPad to reproduce, but if someone is able to figure out what we broke, PRs are very welcome. We may want to test with |
code-server: v3.10.2
VS Code: v1.56.1
Commit: 387b12e
Date: 2021-05-21T23:13:00Z
Browser: Mozilla/5.0 (iPad; CPU OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Mobile/15E148 Safari/604.1
Copy-paste to and from terminal is not working on iPad.
For pasting you need to push on Paste pop-up.
The text was updated successfully, but these errors were encountered: