[1.1.4] Region raster functions don't work as expected

Bug #1696105 reported by TestMechanic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

---- other bugs in that area
bug #1693687
bug #1693684
---------------------------------------------------------------

I am playing with raster functions as described in

http://sikulix-2014.readthedocs.io/en/latest/region.html#get-evenly-sized-parts-of-a-region-as-rows-columns-and-cells-based-on-a-raster

I found following problems:

1. Some constants are not defined - like Region.MID_BIG and Region.MID_THIRD

2. Calling get(522) does not work - select whole screen. Note that 422 work fine. Seems like grid above 5 does not work

3. getRow(whichRow, numberRows) - always return whole screen. However I am confused that those methods are mentioned twice in the documentation on different places. Should we call setRaster for them - not clear

Tested with Sikuli IDE on Windows 10 x64, java 1.8_121, Sikuli 1.1.1 (official)

Tags: raster region
TestMechanic (ndinev)
description: updated
Revision history for this message
RaiMan (raimund-hocke) wrote :

thanks for finding and the evaluation.

I will look into it the next days.

description: updated
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.2
summary: - Some of region raster functions doesn't work as expected
+ [1.1.1] Region raster functions don't work as expected
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → In Progress
importance: High → Medium
milestone: 1.1.2 → 1.1.4
summary: - [1.1.1] Region raster functions don't work as expected
+ [1.1.4] Region raster functions don't work as expected
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Medium → High
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Medium
milestone: 1.1.4 → 2.1.0
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.