← Back to team overview

sikuli-driver team mailing list archive

[Bug 1867801] Re: VNC mouseDown(Button.LEFT) does not work returns None

 

Update:
Button.LEFT does not press down
Mouse.LEFT does
1 throws error under 2.0.4 (as it probably should, previously tested under 2.0.2)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1867801

Title:
  VNC mouseDown(Button.LEFT) does not work returns None

Status in Sikuli:
  New

Bug description:
  Host: Arch Linux
  Target: Linux

  Hi Raiman,
  I know you hate VNC and have no plans to support it, but I am using it extensively and once again need some help. In my script I am trying to click and hold (mouseDown) on a password reveal icon (fail), capture the screen shot of the unit (working), check that the password mask is not there (working), then releasing the icon (mouseUp) (unknown since down does not work). Per the documentation, if mouseDown works it should return 1. It appears that MouseDown and up are defined in the java sikuli irobot functions so i'm not sure where the problem lies. Any suggestions will be appreciated, I think drag operation works if that helps.

  Code:
  vnc = startVNC
  print vnc.mouseDown(Button.LEFT)
  print vnc.mouseDown(Mouse.LEFT)
  print vnc.mouseDown(1)
  print vnc.mouseUp()

  Output:
  None # Button.LEFT
  None # Mouse.LEFT
  None # 1
  None # up

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1867801/+subscriptions


References