Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.6版本某些app不能点击 #5163

Closed
aoy2024 opened this issue Aug 2, 2024 · 8 comments
Closed

2.6版本某些app不能点击 #5163

aoy2024 opened this issue Aug 2, 2024 · 8 comments

Comments

@aoy2024
Copy link

aoy2024 commented Aug 2, 2024

2.5里面正常点击
微信截图_20240802211013

[server] INFO: Device: [nubia] nubia NX712J (Android 14)
INFO: Renderer: direct3d
INFO: Texture: 864x1920

@aoy2024
Copy link
Author

aoy2024 commented Aug 2, 2024

3
1
2

@aoy2024 aoy2024 changed the title 2.6版本某些界面不能点击 2.6版本某些app不能点击 Aug 2, 2024
@rom1v
Copy link
Collaborator

rom1v commented Aug 2, 2024

Thank you for your report (but please write in English).

Which is the easiest way to reproduce the problem? (some app on the PlayStore which does not require an account?)

Also follow #5162 (might be related, but might not).

@aoy2024
Copy link
Author

aoy2024 commented Aug 2, 2024

Thank you for your report (but please write in English).

Which is the easiest way to reproduce the problem? (some app on the PlayStore which does not require an account?)

Also follow #5162 (might be related, but might not).

It's not on Google Play, I uploaded it to OneDrive. Could you please test it
https://1drv.ms/u/c/6a0581d6d6152844/EaczUyOHJYBEvH7VXPE1BMUBdWS44jhleZbn0pS8lF3cnQ

@rom1v
Copy link
Collaborator

rom1v commented Aug 2, 2024

Please test #5162 (comment).

@aoy2024
Copy link
Author

aoy2024 commented Aug 2, 2024

Please test #5162 (comment).

Sorry, I don't understand code. I can't read it

@rom1v
Copy link
Collaborator

rom1v commented Aug 2, 2024

There is no code to understand, download the linked scrcpy-server and replace it in your scrcpy 2.6 folder.

@aoy2024
Copy link
Author

aoy2024 commented Aug 2, 2024

There is no code to understand, download the linked scrcpy-server and replace it in your scrcpy 2.6 folder.

After replacing the file, I can click normally and the problem has been solved. Thank you very much

@rom1v rom1v closed this as completed in 773c23f Aug 2, 2024
@rom1v
Copy link
Collaborator

rom1v commented Aug 2, 2024

Fixed in scrcpy 2.6.1.

Gottox pushed a commit to Gottox/scrcpy that referenced this issue Sep 29, 2024
Even if the pointer is a mouse, inject it as a finger unless it is
required to be a mouse, that is:
 - when it is a HOVER_MOUSE event, or
 - when a secondary button is pressed.

Some apps/games only accept events from a finger/touchscreen, so using a
mouse by default does not work for them.

For simplicity, make this change on the server side just before
event injection (so that the client does not need to know about this
hacky behavior).

Refs 6808288
Refs c7b1d0e
Fixes Genymobile#5162 <Genymobile#5162>
Fixes Genymobile#5163 <Genymobile#5163>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants