[1.1.1] Region.getCol(n, cols): negative n does not work --- fixed 1.1.2 2017-05-28

Bug #1693687 reported by masuo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

[environment:]
version: SikulixIDE 1.1.1(2017-03-29_10:41)
OS: Windows Server 2008(64bit)
Java: 1.8.0_131

[codes:]
r = Region(100,100,500,500)
r.highlight(1)

gc = r.getCol(-1,5)
gc.highlight(1)
print gc

[message:]
[log] highlight R[100,100 500x500]@S(0) for 1.0 secs

[error] Region(50000,100,100,500) outside any screen - subsequent actions might not work as expected
[error] highlight: not possible for null
R[50000,100 100x500]@S(?) E:Y, T:3.0

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [1.1.1] Region.getCol(n, cols): negative n does not work

thanks for finding.

summary: - as parameter of getCol(), negative counts does not work
+ [1.1.1] Region.getCol(n, cols): negative n does not work
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.2
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
summary: - [1.1.1] Region.getCol(n, cols): negative n does not work
+ [1.1.1] Region.getCol(n, cols): negative n does not work --- fixed 1.1.2
+ 2017-05-28
Revision history for this message
masuo (masuo-ohara) wrote :

I confirmed it works correctly.
Thank you RaiMan.

Revision history for this message
RaiMan (raimund-hocke) wrote :

THANK YOUUUUU, for instantly testing ;-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.