gajendravaradhan / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

addBox() produces an opaque black square on Linux DesktopCanvas #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
To reproduce the problem, execute the following code, where the argument is an 
image that is present on the desktop.

    public static void main(String[] args)
    {
        Target targetImg   = new ImageTarget(new File(args[0]));
        ScreenRegion found = new DesktopScreenRegion().find(targetImg);

        new DesktopCanvas().addBox(found).display(3);
    }

When I run this code on Windows, I see the expected box around the target 
image, but on Linux (specifically x86_64 Ubuntu 13.10), the box is obscured by 
a black square. The box is in the correct location, but it should not be 
filled-in with black.

Original issue reported on code.google.com by mse...@lyonscg.com on 18 Nov 2013 at 3:44

Attachments: