Activity log for bug #583090

Date Who What changed Old value New value Message
2010-05-19 22:11:31 Edu bug added bug
2010-05-19 22:55:43 Edu tags 0.10
2010-05-20 00:34:48 Tsung-Hsiang Chang sikuli: status New Confirmed
2011-04-23 10:14:45 SAlbracht bug added subscriber SAlbracht
2011-05-16 06:21:15 RaiMan summary Second argument not optional when calling click on a Match object X-1.0rc2: find().click(): 2nd arg of click() not optional
2011-05-16 06:22:01 RaiMan description 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 *** 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
2011-09-11 15:39:53 Tsung-Hsiang Chang sikuli: status Confirmed Fix Committed
2011-09-11 15:39:55 Tsung-Hsiang Chang sikuli: milestone x1.0-rc3
2011-09-27 10:30:20 RaiMan sikuli: status Fix Committed Fix Released