[2.0.4[ Paste not working in java api --- to be checked

Bug #1538048 reported by Borja Miñano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

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.

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.5
summary: - Paste not working in java api
+ [2.0.4[ Paste not working in java api --- to be checked
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.