Romain Vimont

Results 2060 comments of Romain Vimont

@GetCurious OK, just to be sure, you are building the server (you don't use the prebuilt-server)? What we have to understand is why this works (`adb shell input tap ...`):...

Let's try to use a device id matching the input source, like they do: ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/Controller.java b/server/src/main/java/com/genymobile/scrcpy/Controller.java index 71e7ec9c..c1949f36 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Controller.java +++ b/server/src/main/java/com/genymobile/scrcpy/Controller.java @@ -195,12 +195,26 @@...

What's the id printed in the console when you click with this change?

When you execute `./run x`, what is the output in the console?

And nothing more, even when you click in the scrcpy window? EDIT: in itself: ``` INFO: Initial texture: 1080x2336 INFO: New texture: 888x1920 ``` it's a bit surprising (the device...

With that change: https://github.com/Genymobile/scrcpy/issues/1518#issuecomment-655440431 it should, since a log is added on every click. Unless the client does not send the events to the device. Let's add more logs: ```diff...

Please replace `scrcpy-server` in your v1.24 release, run scrcpy, then copy-paste the whole console output: - [`scrcpy-server`](https://tmp.rom1v.com/scrcpy/3497/1/scrcpy-server) `SHA-256: 21546900831d0f6d0c2ba6debd8d04fb1fd9686527db65f9d10d0d94fd60e2b3` diff ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/wrappers/ClipboardManager.java b/server/src/main/java/com/genymobile/scrcpy/wrappers/ClipboardManager.java index e25b6e99..b178d18d 100644 --- a/server/src/main/java/com/genymobile/scrcpy/wrappers/ClipboardManager.java...

> ``` > public android.content.ClipData android.content.IClipboard$Stub$Proxy.getPrimaryClip(java.lang.String,java.lang.String,int) throws android.os.RemoteException > ``` OK, the function signature has changed on your device, but this does not match the [AOSP source code on tag...

> java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.addPrimaryClipChangedListener [interface android.content.IOnPrimaryClipChangedListener, class java.lang.String, int] Oh, they also added a `String` parameter to `addPrimaryClipChangedListener()`. > but i don't know if that's important; Yes, it's to synchronize the...

> However, I am not sure how I can access this fix without compiling the project myself. Just take this binary: https://github.com/Genymobile/scrcpy/issues/3497#issuecomment-1246780900 and replace it in your v1.24 release.