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
Describe the bug
when do ctrl-shift-v to copy a large text (about 400 utf-8 characters) to device clipboard, get
java.lang.IllegalStateException: Buffer full, call next() to consume
java.lang.IllegalStateException: Buffer full, call next() to consume
at com.genymobile.scrcpy.ControlMessageReader.readFrom(ControlMessageReader.java:36)
at com.genymobile.scrcpy.DesktopConnection.receiveControlMessage(DesktopConnection.java:110)
at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:76)
at com.genymobile.scrcpy.Controller.control(Controller.java:67)
at com.genymobile.scrcpy.Server$1.run(Server.java:47)
at java.lang.Thread.run(Thread.java:929)
Activity
Increase buffer size to fix "set clipboard" event
Add unit test for big "set clipboard" event
rom1v commentedon May 24, 2020
Thank you for your report. 👍
Fixed by 517dbd9, tested by c7155a1.