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

Mac. Second Display. Mouse stop working. #282

Closed
halxinate opened this issue Oct 1, 2018 · 5 comments
Closed

Mac. Second Display. Mouse stop working. #282

halxinate opened this issue Oct 1, 2018 · 5 comments

Comments

@halxinate
Copy link

When the app is dragged to the second (external) display on the Mac Book Pro (MOS 10.13.6) all of the mouse events over any Android controls seems to stop register on the phone. Keyboard shortcuts and window control mouse events still work fine.

@sshock
Copy link

sshock commented Oct 2, 2018

I ran into this today as well. After dragging scrcpy to a second monitor the mouse events no longer work properly. I don't think they are completely ignored; it's more like the mouse is in the wrong place, perhaps as if the screen were invisibly rotated sideways.

@sshock
Copy link

sshock commented Oct 2, 2018

related to #245 maybe?

@halxinate
Copy link
Author

halxinate commented Oct 26, 2018

Yeah. It looks like, as on mouse taps I can also see the scrcpy window jumping a pixel up sometimes.

One more note, but could be just a wild guess. My virtual screen is ABOVE the main workspace. I.e. When I move the scrcpy screen from the laptop screen to the external display I'm crossing the top border of the former to have it appear from the bottom of the latter. Could be the missing case or something.

The scale of my "top" external display is different indeed.

@halxinate
Copy link
Author

halxinate commented Oct 26, 2018

Just experimented by moving the scrcpy window into the top left corner of the secondary screen and enabled the taps and cursor tracking in dev options. It's clearly showing that there is a scaling issue as well as origin issue (I can see the trail synchronized with the mouse motions, but it's scaled and offsetted).

EDIT: No need to move to the corner of the screen. Reproducable anywhere.
And yes it looks like that #245 should resolve that.

@rom1v
Copy link
Collaborator

rom1v commented Apr 9, 2020

Closing as duplicate of #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants