Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.81k stars 10.7k forks source link

Insert from clipboard via App context menu not working. Only via Hotkey CTRL+V #5308

Open pstein opened 1 month ago

pstein commented 1 month ago

I am using the newest scrcpy on Windows 10. The remote Android is Android 14.

I oftentimes write some text on Windows, then copy it to clipboard and paste it in an app on Android (lets say Whatsapp). If I use for inserting the App context menu then it doesn't work. Android inserts some stuff from the past. The only way for a proper insert is via Hotkey

CTRL+V.

Why does scrcpy not recognize the content of the transfer clipboard? The clipboard content is available as CTRL+V shows.

rom1v commented 1 month ago

When you press Ctrl+v in scrcpy, there is a special mechanism which synchronizes the clipboard beforehand.

The computer clipboard is not synchronized automatically, for at least two reasons: