You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
the length of texts copying from devices to PC is limited to 4093. #1117
could it even detect clipboard changes automatically to avoid to let users need to find out they have to press c-c one time separately?
This is done by #1465. Please test it and provide feedback :)
Then what about incresing it to 1M or 4M?
I increased the clipboard size form 4k to 256k: clipboard.
After all previous commits for making it possible, the increase is done by 913a9f3. On my computer, beyond 256k, SDL_GetClipboard() returns an empty string.
I implemented these changes above #1465, so shortcuts have changed! (TL;DR: just use LCtrl+c to copy and LCtrl+v to paste).
Feedback welcome :)
Binaries for testing
For windows users, take both scrcpy.exe and scrcpy-server, and replace them in your scrcpy v1.14 release.
For other platforms, take scrcpy-server and build only the client.
Activity
NewUserHa commentedon Jan 28, 2020
4093 is even unable to copy an Adaway host/DNS plain text file from devices to PC.
rom1v commentedon Jan 28, 2020
If you want to copy a file, you should use
adb pull.At the default bitrate (8Mbits/s, ie 1Mbyte/s), this would be the same size as 32 or 64 seconds of video in the clipboard. That seems huge to me.
Anyway, I guess the Android clipboard has a lower limit anyway: https://stackoverflow.com/questions/28100218/is-there-any-characters-bytes-limit-in-the-android-clipboard-android-developme
I am not aware of any solution for this.
NewUserHa commentedon Jan 28, 2020
I feel the windows clipboard can handle big MBs plain text.
Then what about incresing it to 1M or 4M?
NewUserHa commentedon Jan 28, 2020
so it's able to copy some big logs from devices to PC
reversegear commentedon Feb 3, 2020
Files can be easily copied via
adb pullrequestonly text copy paste has a limitation
Increase clipboard size from 4k to 256k
Increase clipboard size from 4k to 256k
Increase clipboard size from 4k to 256k
rom1v commentedon Jun 4, 2020
This is done by #1465. Please test it and provide feedback :)
I increased the clipboard size form 4k to 256k:
clipboard.After all previous commits for making it possible, the increase is done by 913a9f3. On my computer, beyond 256k,
SDL_GetClipboard()returns an empty string.I implemented these changes above #1465, so shortcuts have changed! (TL;DR: just use
LCtrl+cto copy andLCtrl+vto paste).Feedback welcome :)
Binaries for testing
For windows users, take both
scrcpy.exeandscrcpy-server, and replace them in your scrcpy v1.14 release.For other platforms, take
scrcpy-serverand build only the client.scrcpy.exeSHA256: b5fb3b193474702a6045545022e138a5daa7952ae3994dfa840491f694826231
scrcpy-serverSHA256: 15533c3d4a4a12a20e2afe9cd7dfb8efecd3f990227ac8262bb79998c1fc3af5
Increase clipboard size from 4k to 256k
Increase clipboard size from 4k to 256k
rom1v commentedon Jun 11, 2020
I rebased the increase from 4k to 256k on
devand merged, without the content of #1465 (which required more work).Increase clipboard size from 4k to 256k
Increase clipboard size from 4k to 256k