sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56645
[Bug 1538048] Re: Paste not working in java api
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Medium
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 2.0.5
** Summary changed:
- Paste not working in java api
+ [2.0.4[ Paste not working in java api --- to be checked
--
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:
[2.0.4[ Paste not working in java api --- to be checked
Status in Sikuli:
In Progress
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
References