← Back to team overview

sikuli-driver team mailing list archive

[Bug 900867] Re: Mac: VM-Ware: First Click on Ubuntu 11.04 is in lower right corner

 

This might be a focus problem on Mac together with the use of a VM
software.

Different from Windows, on Mac you always need to give the focus to a
window by either using App.focus() or a click() on a point, that does
not produce an action.

So in your case it might be a combination of this behavior and the fact,
that Sikuli is running in a VM. I have Parallels running on Lion with
Windows 7 as guest: I have the problem, that click()'s are performed
correctly, but the mouse pointer is not moved.

So it might be worth to just try to click() somewhere inside the VM
window in your script before doing the first "real" click().

** Summary changed:

- First Click on Ubuntu 11.04 is in lower right corner
+ Mac: VM-Ware: First Click on Ubuntu 11.04 is in lower right corner

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

Title:
  Mac: VM-Ware: First Click on Ubuntu 11.04 is in lower right corner

Status in Sikuli:
  New

Bug description:
  
  Release Maltipoo

  I'm using 32 bit Ubuntu 11.04 (VMware Fusion VM, host is OSX Lion,
  though probably not relevant).

  I open my application successfully using Sikuli app class, and I set
  the ROI to the app window using App.focusedWindow.

  Next I go to click on a fairly standard UI button that says "Next"

  Sikuli claims a successful find (with .99+ similarity) and logs a
  click at the right coordinates.

  However, the click actually occurs in the lower right hand corner of
  the screen (this happens to be on the trash icon in my UI - this is a
  pre-Unity interface).

  If I close the trash window and attempt the click again, it clicks in
  the right spot and in fact all subsequent operations seem to be Ok,
  until I reboot and then the first click fails again to hit the right
  spot.

  My method of running (again, probably not relevant but just in case)
  is a custom Robot Framework jython library I wrote that imports
  Sikuli, so Robot Framework is driving it, calling my jython code which
  calls various Sikuli functions.

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


References