[1.1.0] OS X 10.10: Location: outside any screen in multi-monitor setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
High
|
RaiMan |
Bug Description
Sikulix API Version: 1.1.0
Yosemite 64 bits
I'm developing a solution on Java with Sikuli, with two monitors, on Mac OS after I updated to Yosemite I began to get the next errors message:
error] Location: outside any screen (-2560, 0) - subsequent actions might not work as expected
[error] Location: outside any screen (-2560, 0) - subsequent actions might not work as expected
[error] Location: outside any screen (-1484, 153) - subsequent actions might not work as expected
I've make changes to Display settings and update to Java 1.8 JDK and JRE
I use this method to get the Screen ID:
public static int getCurrentScree
{
int result = 0;
for (int i = 0; i <= 1; i++)
{
System.
if (new Screen(
{
System.
result = i;
System.
}
else
{
continue;
}
}
return result;
}
NOTE: on Yosemite the screen 0 (default) is the monitor connected to the machine, if you unplugged the monitor then the screen(0) is the screen machine.
could you run it with evel=3
Debug.setDebugL
at the very beginning of your main and send me the log output silently to my mail at https:/ /launchpad. net/~raimund- hocke with ref to this bug.