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

mouse.click() does not do mouse up #3

Closed
badeendjuh opened this issue May 18, 2018 · 4 comments
Closed

mouse.click() does not do mouse up #3

badeendjuh opened this issue May 18, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@badeendjuh
Copy link

badeendjuh commented May 18, 2018

Setup:
autopy==1.0.1
python 3.6

Interacting with a VNC linux session like so:

autopy.mouse.move(1032, 126)
autopy.mouse.click()

This will move the mouse to the correct location
Then the mouse-down is issued, but a mouse-up does not occur.

If in this position I issue:

autopy.mouse.toggle(autopy.mouse.Button.LEFT, False)

The mouse up is given.

@msanders
Copy link
Contributor

My guess is the delay isn't long enough for the click to register in VNC. I'll update this in the next release to take an explicit delay parameter so it can be increased.

@pevogam
Copy link

pevogam commented Jun 15, 2018

I can confirm the same issue on Fedora 27 without the VNC session (physical workstation as well as a docker image). Using the toggle(..., False) step solves the issue for the time being.

@msanders
Copy link
Contributor

This should be fixed by autopilot-rs/autopilot-rs#8 (which is included on the latest master), I just haven't had time yet to distribute the new binary wheels.

@msanders
Copy link
Contributor

msanders commented Sep 2, 2018

This is fixed on the latest master. Moved binary wheel distribution task to separate issue: #18.

@msanders msanders added the bug Something isn't working label Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants