** Changed in: sikuli
Importance: Medium => High
** Changed in: sikuli
Milestone: None => 1.1.1
** Summary changed:
- [1.0.1] Mac: SikuliX should support screens having a Retina display
+ Mac: SikuliX should support screens having a Retina display
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1306395
Title:
Mac: SikuliX should support screens having a Retina display
Status in Sikuli:
In Progress
Bug description:
png file screen capture from OSX command-shift-4 is never found in region.
But if I record capture the same image with sikuli IDE it works. Is a png not a
sikuli compatible png depending on the tool? Do I really have to use sikuli IDE
to record images? It seems on win7 this is not an issue. e.g. I can use windows
snipping tool to make png's for sikuli. I spent days spinning on this. The
command-shift-4 png output looked ok in the finder and preview so I never
suspected the image.
I'm using java and netbeans with all the recommended sikuli jars. Last thing
I ever imagined of how the png is saved from which tool being the issue.
So if I save the image with sikuli IDE and copy to my java image lib all
works fine.
With no change in code but replacing the png file in the java project image
lib.
Fails to work with image saved from command-shift-4.
Below shows the png is loaded ok but fails to be found in the
app.window.region
Weird.
Thanks
Keith
======S T A R T ===========
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: x86_64
[debug] ResourceLoaderBasic: check: using Java at:
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/
[debug] ResourceLoaderBasic: check: Exists libs folder at location of jar?
YES: /Users/keithfisher/NetBeansProjects/Sikuli/
[debug] ResourceLoaderBasic: checkLibsDir:
/Users/keithfisher/NetBeansProjects/Sikuli/libs
[debug] ResourceLoaderBasic: loadLib: MacUtil
[debug] ResourceLoaderBasic: loadLib: Found: MacUtil
[debug] ResourceLoaderBasic: loadLib: Now loaded: MacUtil
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at:
/Users/keithfisher/NetBeansProjects/Sikuli/libs
[debug] ResourceLoaderBasic: check: Using this as OCR directory (tessdata) too
[debug] ResourceLoaderBasic: loadLib: Is already loaded: MacUtil
[debug] Screen: initScreens: basic initialization (2 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1920x1200]
[debug] Screen 1: S(1)[1920,-720 1200x1920]
[debug] *** end monitor configuration ***
[log] App.open VNC Viewer(0)
[log] openApp: "VNC Viewer"
[log] highlight R[1361,65 540x1018]@S(0)[0,0 1920x1200] E:Y, T:3.0 for 1.0
secs
[log] App.focus VNC Viewer(0) #0
[log] openApp: "VNC Viewer"
[debug]
imgFullpath:/Users/keithfisher/NetBeansProjects/testSmartLib/imgs/settings.png
[log] highlight S(0)[0,0 1920x1200] E:Y, T:3.0 for 1.0 secs
[log] App.focus VNC Viewer(0) #0
[log] openApp: "VNC Viewer"
[debug] waiting for
/Users/keithfisher/NetBeansProjects/testSmartLib/imgs/settings.png to appear
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] Screen.capture: java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] RobotDesktop: captureScreen: on 0 using
java.awt.Rectangle[x=1361,y=65,width=540,height=1018]
[debug] /Users/keithfisher/NetBeansProjects/testSmartLib/imgs/settings.png
has not appeared.
FAILED:can not find
/Users/keithfisher/NetBeansProjects/testSmartLib/imgs/settings.png on the
screen.
FAILED ***
======D O N E ===========
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1306395/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp