Genymobile / scrcpy

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

Typing bug - Instagram stories #1934

Open bamiot32 opened 3 years ago

bamiot32 commented 3 years ago

Environment

Describe the bug Using the Instagram app, when I want to type text into a story, the moment I press any letter, the keyboard / typing action disapears. The same thing is happening when using Dell Mobile Connect and Your Phone on Windows (mirroring)

rom1v commented 3 years ago

Also with scrcpy --prefer-text?

bamiot32 commented 3 years ago

Also with scrcpy --prefer-text?

it works when I paste a text then modify it. I can't type from scratch, only the inital letter remains.

rom1v commented 3 years ago

I guess that's a bug either in the app or how your system handle text/key events.

You can simulate text injection with:

adb shell input text 'here is some text'
adb shell input keyevent A