Mac: SikuliX should support screens having a Retina display
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
High
|
RaiMan |
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] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[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:
[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/
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] ResourceLoaderB
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] Screen.capture: java.awt.
[debug] RobotDesktop: captureScreen: on 0 using java.awt.
[debug] /Users/
FAILED:can not find /Users/
FAILED ***
======D O N E ===========
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → RaiMan (raimund-hocke) |
Changed in sikuli: | |
importance: | Medium → High |
milestone: | none → 1.1.1 |
summary: |
- [1.0.1] Mac: SikuliX should support screens having a Retina display + Mac: SikuliX should support screens having a Retina display |