← Back to team overview

sikuli-driver team mailing list archive

[Bug 1538048] [NEW] Paste not working in java api

 

Public bug reported:

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.

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1538048

Title:
  Paste not working in java api

Status in Sikuli:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1538048/+subscriptions


Follow ups