[IDE] A region changed by clicking on region image is still the old one at next run - workaround

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

Bug Description

tracked on Github: https://github.com/RaiMan/SikuliX1/issues/592

workarounds:
- YOU NEED TO SAVE THE SCRIPT FIRST, then run again.
- switch on "autosave on run" in the preferences
- You could also just delete the Region and create a new one.

-----------------------------------------------------------------------

Region(461,466,300,99).findWord("for").click()

I was using the IDE-2.0.5 on windows 11 64bit.

I found once a region has been created AND THE SCRIPT HAS BEEN RUN.

"Clicking" on the image of the Region and selecting a new region in the IDE will seem to change/update the values, but it will not have updated the region at runtime.

Run the script again and it would still use the old region.

The solution is;

YOU NEED TO SAVE THE SCRIPT FIRST, then run again.

You could also just delete the Region and create a new one.

RaiMan (raimund-hocke)
summary: - A region cant be changed/updated after RUN
+ [IDE] A region changed by clicking on region image is still the old one
+ at next run - workaround
description: updated
Changed in sikuli:
milestone: none → 2.0.6
assignee: nobody → RaiMan (raimund-hocke)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
RaiMan (raimund-hocke) wrote :

thanks for finding.

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.