[1.1.1] paste on vnc screen sends incorrect keypresses for vnc OS

Bug #1700784 reported by Russ Hatch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

When running sikulixapi on OSX against a VM running windows 10, the paste method seems to be sending the paste key combination for OSX. The field in the VNC machine just appears with "v" as if sikuli might be sending the OSX combo of "CMD+v" which would make not sense to win10.

Is the vnc screen api capable of understanding the difference between the "host" OS (where sikulixapi is running) and the "guest" OS (running vnc server)?

Sikulix 1.1.1
OS: OSX Sierra / Win10

To repro:
Create a vnc screen connecting from an OSX host to a Windows 10 machine running vnc server. I'm using tightvnc. Call region.paste.

As always, thanks for sikulix!

Revision history for this message
RaiMan (raimund-hocke) wrote :

I am rather sure, that currently the VNC solution does not deal with the system type of the target system.
I have to check.

What about working with keyDown(), keyUp()?

Changed in sikuli:
importance: Undecided → High
milestone: none → 1.1.2
status: New → In Progress
importance: High → Medium
assignee: nobody → RaiMan (raimund-hocke)
summary: - sikulixapi: calling paste on vnc screen sends incorrect keypresses for
- vnc OS
+ [1.1.1] paste on vnc screen sends incorrect keypresses for vnc OS
Revision history for this message
Russ Hatch (russthehatch) wrote :

Thanks RaiMan, I will attempt a workaround in my test harness.

Cheers.

RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.2 → 1.1.3
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.