-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Can not control virtual display with mouse when phone screen dims #5529
Comments
It depends on the device. On a Pixel 8, I can open a virtual display without even turning the physical screen on. As a workaround, you can probably use the new |
Does it also happen with main screen mirroring with |
I tested this on my setup (Windows 11 and a Xiaomi phone running Android 13 connected via USB) with main screen mirroring. When the phone screen times out, the lock screen appears, and the mouse still works. However, I can't unlock the phone because the pattern unlock screen doesn’t appear, and the under-screen fingerprint reader isn’t functional in this mode. The mouse issue arises only with the virtual screen after the main screen times out, not with the mirrored main screen. The keyboard continues to function normally in both modes. |
I was recently testing the virtual display on my pixel 7, it works well and surprisingly no issues if you started the display and continuously using the display with the device screen off. However, if you try to switch application on your computer, after coming back to the window, the screen won't respond on your mouse clicks. Keyboard still works though. |
Environment
Describe the bug
Create a virtual display with scrcpy 3.0:
At first, touch control with mouse works, but when the phone screen dims after a while, the virtual display can't be controled by mouse, but keyboard works.
Console output is:
The text was updated successfully, but these errors were encountered: