Public bug reported: MacOS Retina 10.10.2 Java 1.7_40 SikuliX 1.1.0 nightly build downloaded 01-03-15
Imagine this code: public void clickBelowMyRegion() { Settings.CheckLastSeen = true; Region match = screen.wait("myRegion.png"); match.y = match.y + 20; match.click(); } clickBelowMyRegion(); // here everything is fine. The click hits 20 pixels below the middle of the found region clickBelowMyRegion(); // here the click hits the middle of the found region So I think the checkLastSeen-cached region should also be shifted. It works as desired without the CheckLastSeen option ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1433471 Title: Region.click() does not shift if checkLastSeen is TRUE Status in Sikuli: New Bug description: MacOS Retina 10.10.2 Java 1.7_40 SikuliX 1.1.0 nightly build downloaded 01-03-15 Imagine this code: public void clickBelowMyRegion() { Settings.CheckLastSeen = true; Region match = screen.wait("myRegion.png"); match.y = match.y + 20; match.click(); } clickBelowMyRegion(); // here everything is fine. The click hits 20 pixels below the middle of the found region clickBelowMyRegion(); // here the click hits the middle of the found region So I think the checkLastSeen-cached region should also be shifted. It works as desired without the CheckLastSeen option To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1433471/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp