← Back to team overview

sikuli-driver team mailing list archive

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

 

Public bug reported:

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.

** Affects: sikuli
     Importance: Undecided
         Status: New

** Description changed:

  Sikuli Version: Sikuli X 1.0rc2 "Maltese"
  Operating System: Windows 7 32 bit
  
  Steps to reproduce:
- {code}
-            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);
- {code}
- 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.
+ 
+            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.

-- 
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:
  New

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.


Follow ups

References