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

Bug #1696105 reported by TestMechanic on 2017-06-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
High
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)

TestMechanic (ndinev) on 2017-06-06
description: updated
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) on 2018-11-19
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) on 2019-04-14
Changed in sikuli:
importance: Medium → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers