← Back to team overview

sikuli-driver team mailing list archive

[Bug 1553702] [NEW] find(wrong-parameter) should signal an exception and not stop the IDE

 

Public bug reported:

I dont understand why it's been so time consuming figuring out how to shift the mouse a few pixels to the right of a found image.
Lets say I can successfuly locate an image. After locating it, I want to click 150 pixels to the right of it. 

This line of code terminates my program without warning:
 find(sortedMatches[-1]).targetOffset(150,0)

is it really that difficult to click xpixels to the right of a found
image?

** Affects: sikuli
     Importance: High
     Assignee: RaiMan (raimund-hocke)
         Status: Fix Committed

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

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

** Changed in: sikuli
    Milestone: None => 1.1.1

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

Title:
  find(wrong-parameter) should signal an exception and not stop the IDE

Status in Sikuli:
  Fix Committed

Bug description:
  I dont understand why it's been so time consuming figuring out how to shift the mouse a few pixels to the right of a found image.
  Lets say I can successfuly locate an image. After locating it, I want to click 150 pixels to the right of it. 

  This line of code terminates my program without warning:
   find(sortedMatches[-1]).targetOffset(150,0)

  is it really that difficult to click xpixels to the right of a found
  image?

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


Follow ups