[2.0.5] click text in region does not work --- workaround

Bug #1920183 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
High
RaiMan

Bug Description

confirmed bug tracked on GitHub:
https://github.com/RaiMan/SikuliX1/issues/437

-------------------------------------- workaround

click(reg.findText(someText))

seems to work.

---------------------------------------------- will be fixed in 2.0.6

Code:

reg = <some_region>
reg.click('text_in_region') # does not click on text

see video https://www.screencast.com/t/yIdZvomTCvpz

----
Seems like click is executed on relative coordinates against Screen not against region
This seems like a bug
Note that "reg.click(image_in_region.png) works s expected

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.6
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → In Progress
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.