Comment 2 for bug 1224863

Revision history for this message
Dumas (pierreduma) wrote : Re: Null pointer exception raised at click function call

Hi,
I found the origin of the bug.
It occurs when region is created with X = width of the screen and/or Y = height of the screen
Examples:
r = Region(1600, 0, 0, 0)
click(r)

r = Region(0, 1200, 0, 0)
click(r)

r = Region(1600, 1200, 0, 0)
click(r)

But
r = Region(0, 0, 0, 0)
click(r)

works (despite of an error message that inform you that region is outside the screen)

Best regards,
Pierre Dumas