[1.1.0] find(wrong-parameter) should signal an exception and not stop the IDE --- fixed 1.1.1 2016-05-01+

Bug #1553702 reported by RaiMan on 2016-03-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

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?

RaiMan (raimund-hocke) on 2016-03-06
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
RaiMan (raimund-hocke) on 2016-05-01
summary: find(wrong-parameter) should signal an exception and not stop the IDE
+ --- fixed 1.1.1 2016-05-01+
Changed in sikuli:
importance: High → Critical
summary: - find(wrong-parameter) should signal an exception and not stop the IDE
- --- fixed 1.1.1 2016-05-01+
+ [1.1.0] find(wrong-parameter) should signal an exception and not stop
+ the IDE --- fixed 1.1.1 2016-05-01+
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers