← Back to team overview

sikuli-driver team mailing list archive

[Bug 767765] Re: targetOffset method is not properly setting the targetOffset in the java api.

 

not a bug

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

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/153685

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

Title:
  targetOffset method is not properly setting the targetOffset in the
  java api.

Status in Sikuli:
  Invalid

Bug description:
  Sikuli Version: Sikuli X 1.0rc2 "Maltese"
  Operating System: Windows 7 32 bit

  Steps to reproduce:

             Screen sikuli = new Screen();
             Pattern testPattern = new Pattern("DFWizard.DFName.PNG");
             testPattern.similar(0.95f);
             testPattern.targetOffset(30,0);
             sikuli.doubleClick(testPattern,0);
             sikuli.type(testPattern,dfName,0);

  When I do this, sikuli is not using the specified offset of 30 pixels.
  It should be offset of 30 pixels.  Please fix this in the java api.


References