-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Square device wants to be hip #1702
Comments
Updating my own issue: If I specify a max resolution with: Perhaps the issue is that there are few (no other?) square devices and scrcpy is coded in such a way as to not handle them correctly when left to defaults? |
It's not a problem with square vs non-square, but the fact that the encoder prodices pictures at a size different from what was requested (probably because it does not support higher definition). See #1518 |
Ah, thanks. I'd seen that post when searching for similar issues but it didn't (initially) appear to be related. Also, now that I have it (mostly) sorted out, I noticed that left-click is kind of treated as a long press until I physically tap on the device screen, then left-click works normally. Still part of the same issue? |
Hmm, no that's not expected (and I could not reproduce). Always? On which devices? On which system? With a modified "wm size"? |
The only combo with the problem is the one in the OP (Titan, Win10), though I have used the Titan on a different windows machine with an earlier version of scrcpy with no issues (mouse and window/display were fine). My Pixel 4XL (11 beta) does not have the screen/display issue or the left-click issue on this machine -- tried with and without the -m option. The left mouse issue happens whenever the device is powered on from sleep. It feels like the left-click is laggy, resulting in a long-press, but once I physically tap on the device screen, left-click is fine until the device sleeps again. Left-click drag works fine, the issue is only with click. |
Does this left-click problem also happen on v1.14? |
Environment
Windows 10 Pro
version 1.16
Windows zip
Unihertz Titan
9
Describe the bug
When connecting scrcpy to my Titan (phone with square screen and physical keyboard) it seems to want the device to be a different resolution than it is, which makes interacting with the device in the scrcpy window impossible. Running scrcpy results in a window with large black bars on the top and bottom of the screen. Mouse shortcuts (middle click for Home, right-click for Back) and most keyboard shortcuts work fine, but mouse left-click interactions send errors to the console.
Any suggestions would be appreciated.
The text was updated successfully, but these errors were encountered: