← Back to team overview

sikuli-driver team mailing list archive

[Bug 1433471] Re: Region.click() does not shift if checkLastSeen is TRUE

 

ok, thanks.

I have to check this possible problem on the Java level again.

** Changed in: sikuli
       Status: New => Opinion

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Summary changed:

- Region.click() does not shift if checkLastSeen is TRUE
+ [1.1.0] Region.click() does not shift if checkLastSeen is TRUE

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

Title:
  [1.1.0] Region.click() does not shift if checkLastSeen is TRUE

Status in Sikuli:
  Opinion

Bug description:
  MacOS Retina 10.10.2
  Java 1.7_40
  SikuliX 1.1.0 nightly build downloaded 01-03-15

  Imagine this code:

  public void clickBelowMyRegion() {
     Settings.CheckLastSeen = true;
     Region match = screen.wait("myRegion.png");
     match.y = match.y + 20;
     match.click();
  }

  clickBelowMyRegion(); // here everything is fine. The click hits 20 pixels below the middle of the found region
  clickBelowMyRegion(); // here the click hits the middle of the found region

  So I think the checkLastSeen-cached region should also be shifted. It
  works as desired without the CheckLastSeen option

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


References