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

Use the phone resolution when maximizing the projection window. #5700

Open
Helaer opened this issue Dec 23, 2024 · 6 comments
Open

Use the phone resolution when maximizing the projection window. #5700

Helaer opened this issue Dec 23, 2024 · 6 comments

Comments

@Helaer
Copy link

Helaer commented Dec 23, 2024

I found that when I slide the verification code on some apps, the screen size needs to be consistent with the resolution of the phone to slide successfully, because I usually use wireless screen projection, usually I will customize the parameter -m 1280, I know that if I do not specify -m, the screen projection is the resolution size of the phone, and my phone is 2K resolution. If the -m parameter is not specified, the delay will be large. When you want to maximize the window, refresh the window at the phone resolution size, and restore the custom size after exiting the maximize.

Normal:
INFO: Texture: 576x1280

Maximized:
INFO: Texture: 1080x2240 (Mobile phone resolution)

@rom1v
Copy link
Collaborator

rom1v commented Dec 23, 2024

I found that when I slide the verification code on some apps, the screen size needs to be consistent with the resolution of the phone to slide successfully

On scrcpy 3.1? (might be related to 97fa77c)

@Helaer
Copy link
Author

Helaer commented Dec 23, 2024

I found that when I slide the verification code on some apps, the screen size needs to be consistent with the resolution of the phone to slide successfully, because I usually use wireless screen projection, usually I will customize the parameter -m 1280, I know that if I do not specify -m, the screen projection is the resolution size of the phone, and my phone is 2K resolution. If the -m parameter is not specified, the delay will be large. In this hope to maximize the window, refresh the window screen with the resolution size of the phone, and restore the custom size after the window is maximized.

Normal: INFO: Texture: 576x1280

Maximized: INFO: Texture: 1080x2240 (Mobile phone resolution)

我发现在一些应用上滑动验证码时,屏幕大小需要和手机的分辨率一致才能滑动成功

在 scrcpy 3.1 上?(可能与 97FA77C 有关)

This has always been a problem, and it would be nice if you could automatically refresh the screen at the phone's resolution size when the window is maximized.

@Helaer
Copy link
Author

Helaer commented Dec 23, 2024

@rom1v This has always been a problem, not just with version 3.1, can you implement this requirement?

@rom1v
Copy link
Collaborator

rom1v commented Dec 23, 2024

it would be nice if you could automatically refresh the screen at the phone's resolution size when the window is maximized.

No, sorry, the capture resolution will not change just because the client window gets "maximized".

@Helaer
Copy link
Author

Helaer commented Dec 23, 2024

如果您可以在窗口最大化时以手机的分辨率大小自动刷新屏幕,那就太好了。

不,抱歉,捕获分辨率不会仅仅因为客户端窗口被“最大化”而改变。

Well, it would be nice to dynamically change the dimensions.

@Helaer
Copy link
Author

Helaer commented Dec 23, 2024

I am not sure why the mouse swipe verification code does not pass the verification under the custom size screen.

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