← Back to team overview

sikuli-driver team mailing list archive

[Bug 1099646] Re: setROI persists between IDE runs and breaks with Region: sections.

 

Actually, it seems like i'm seeing Bug #890123.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1099646

Title:
  setROI persists between IDE runs and breaks with Region: sections.

Status in Sikuli:
  New

Bug description:
  I am using the latest linux release (r905), putting the following in
  the IDE:

  #setROI(0, 0, 1000, 1000)
  #setROI(SCREEN)

  print getX(),getY(),getH(),getW()

  with Region(100,100,200,300):
      print getX(),getY(),getH(),getW()


  prints the dimensions of Screen(0), followed by "100 100 300 200"

  If i uncomment:
   setROI(0, 0, 1000, 1000)

  then it prints "0 0 1000 1000" twice (the with Region(): has no
  effect).

  Additionally, commenting out the setROI() and re-running also prints
  "0 0 1000 1000" twice, and the only way I can find to reset the
  behavior is to close and reopen the IDE.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1099646/+subscriptions


References