Paste not working in java api

Bug #1538048 reported by Borja Miñano on 2016-01-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Undecided
Unassigned

Bug Description

I am using Sikulix 1.1.0 api in Java and it seems that paste does not work.
When pasting text, the program exits without any exception.
I am using Java 1.6, in an OSGI environment. Using Ubuntu also.

I located the error at line 4286 in Region.java:
App.setClipboard(text);

What is curious is that I copied the source code relevant from App.java in my code and it works as expected.
    setClipboard(myString);
    System.out.println("a");
    App.setClipboard(myString);
    System.out.println("b");
The code above prints a but not b.

I don't know if it is a special case that I cannot understand or it could be reproducible.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers