← Back to team overview

sikuli-driver team mailing list archive

[Question #554516]: Clipboard not being updated when iteracting with SUSE Linux

 

New question #554516 on Sikuli:
https://answers.launchpad.net/sikuli/+question/554516

When using the PC version of Sikuli and copying text from an Linux application being run via Exceed on Demand to the Clipboard, the buffer does not appear to be updated properly.  It appears to be based on the execution of the last interactive sikuli session.

Steps:

1) Find Text on screen
2) Copy it to the Clipboard (type("c",Key.CTRL)
3) cb=App.getClipboard()
4) print cb;
5) Find another text region
6) Copy it to the Clipboard
7) print cb;
8) Find another text region
9) Copy it to the Clipboard
10) print cb;

The Clipboard always seems to have the information copied from the last session instead of the new session.

S(0)[0,0 1600x900] E:Y, T:3.0
[log] CLICK on L(123,282)@S(0)[0,0 1600x900]
[log] ( Ctrl ) TYPE "c"
VNV-Base-Tabular-Old-1
[log] CLICK on L(365,300)@S(0)[0,0 1600x900]
[log] ( Ctrl ) TYPE "c"
VNV-Base-Tabular-Old-1
[log] CLICK on L(365,332)@S(0)[0,0 1600x900]
[log] ( Ctrl ) TYPE "c"
VNV-Base-Tabular-Old-1

When run on the same application executing on the Windows 7 platform, the Clipboard is appropriately updated.

S(0)[0,0 1600x900] E:Y, T:3.0
[log] CLICK on L(119,265)@S(0)[0,0 1600x900]
[log] ( Ctrl ) TYPE "c"
ALL_W_USERS
[log] CLICK on L(360,283)@S(0)[0,0 1600x900]
[log] ( Ctrl ) TYPE "c"
VNV-Testing-V142-String-Linux-1
[log] CLICK on L(360,319)@S(0)[0,0 1600x900]
[log] ( Ctrl ) TYPE "c"
VNV-Tetsing-V142-Tabular-Old-Linux-1

What am I missing to get the buffer properly updated with the last information copied to it?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.