Skip to content
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

copy text from pc to phone #3611

Open
Karan-Sahota opened this issue Dec 6, 2022 · 11 comments
Open

copy text from pc to phone #3611

Karan-Sahota opened this issue Dec 6, 2022 · 11 comments

Comments

@Karan-Sahota
Copy link

  • I have checked that a similar [feature request does not already exist.

i 've used the copy past function to
copy and paste text from phone to pc
but not the other way

** i realy don't know if its possible or
not but it would be great if we could
also copy text from pc to phone
that would save a lot of time of
moving text here and there

@rom1v
Copy link
Collaborator

rom1v commented Dec 6, 2022

In theory, it works by default. However, on some devices (especially Samsung devices it seems), it does not work because setting the device clipboard does not work.

In that case, you can pass --legacy-paste to inject characters one by one.

See:

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Dec 11, 2022

@rom1v For me, it always worked fine on my Pixel 6 device.
However, on the recent Android 13 update, I've noticed that indeed the clipboard sharing between PC and device is broken.
I can't paste from PC to device, and the opposite (from device to PC).

Can you please check?

My Android build:
TQ1A.221205.011

@chilicoke
Copy link

Having the same issue, used to copy and paste from my PC all the time but it no longer works on Pixel 6 Android 13.

@AndroidDeveloperLB
Copy link

@chilicoke Do you have perhaps the same build as me? I wonder if on the beta it happens, too

@chilicoke
Copy link

I'm on the same TQ1A.221205.011 build, never been on Beta on this phone.

@drothenberger
Copy link

@chilicoke Check out #3497 (comment). It fixes the issue for me with the same build.

@chilicoke
Copy link

@chilicoke Check out #3497 (comment). It fixes the issue for me with the same build.

That fixed it! Absolutely perfect, thank you so much!

@AndroidDeveloperLB
Copy link

@drothenberger This worked for me. How did you find it? Why isn't it on the releases ?

@drothenberger
Copy link

I just posted a link to a comment by the developer in another similar issue that contains a fix. I assume the dev will include it in the next release.

@AndroidDeveloperLB
Copy link

@drothenberger Thank you!
I was beginning to think that ScrCpy won't work well anymore on Android, because of yet more restrictions that Google adds to it...

@ronvdlg
Copy link

ronvdlg commented Dec 23, 2022

Unfortunately I was never able to correctly use the clipboard (Windows 10) on an Android 10 using a Samsung Galaxy J4. When I inject characters one by one (legacy paste or Shift Alt V), it sends all break lines like "Enter / Ctrl Enter", sending messages in chats. The only alternative I found was to use Microsoft's SwiftKey app to sync my Windows clipboard with my Android clipboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants