** Summary changed: - Second argument not optional when calling click on a Match object + X-1.0rc2: find().click(): 2nd arg of click() not optional
** Description changed: + *** bug still valid with X-1.0rc2 + Calling click on a Match object requires a modifier as second argument: find(img1).click(img2, 0) The following does not work: find(img1).click(img2) TypeError: click(): expected 2 args; got 1 But this does: Region(find(img1)).click(img2) According to the documentation, Match is a subclass of Region and therefore the modifier argument for click should be optional. The problem is that find(img1) returns an instance of edu.mit.csail.uid.Match, whereas Region(find(img1)) is a class instance of sikuli.Region.Region. Sikuli version: 0.10.0 OS version: Windows XP SP3 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/583090 Title: X-1.0rc2: find().click(): 2nd arg of click() not optional Status in Sikuli: Confirmed Bug description: *** bug still valid with X-1.0rc2 Calling click on a Match object requires a modifier as second argument: find(img1).click(img2, 0) The following does not work: find(img1).click(img2) TypeError: click(): expected 2 args; got 1 But this does: Region(find(img1)).click(img2) According to the documentation, Match is a subclass of Region and therefore the modifier argument for click should be optional. The problem is that find(img1) returns an instance of edu.mit.csail.uid.Match, whereas Region(find(img1)) is a class instance of sikuli.Region.Region. Sikuli version: 0.10.0 OS version: Windows XP SP3 _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

