← Back to team overview

sikuli-driver team mailing list archive

[Bug 1693110] [NEW] [1.1.2] VNC: Special keys (Key.UP) dont work --- fixed 2017-05-25

 

Public bug reported:

Hello

app version:
sikulix1.1.2.jar
win10 64-bit
Vmlite vnc server for android

my code is:
sVnc = vncStart('-.-.-.-', 5901)
sleep(5)
sVnc.type(Key.UP)

then throw a exception:

 sVnc.type(Key.UP)
	at org.sikuli.vnc.VNCRobot.charToXlib(VNCRobot.java:200)
	at org.sikuli.vnc.VNCRobot.typeChar(VNCRobot.java:127)
	at org.sikuli.script.Region.keyin(Region.java:4397)
	at org.sikuli.script.Region.type(Region.java:4265)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException:
Cannot type character ?

without vnc,running on local is normal  
sVnc.type(Key.LEFT), sVnc.type(Key.RIGHT), sVnc.type(Key.DOWN) is woking correctly on local and vnc

Help me please, and i am sorry for my enlish
Thanks in advance!!!

** Affects: sikuli
     Importance: Critical
     Assignee: RaiMan (raimund-hocke)
         Status: Fix Committed

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => Critical

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.2

** Summary changed:

- [1.1.2] VNC: Special keys (Key.UP) dont work
+ [1.1.2] VNC: Special keys (Key.UP) dont work --- fixed 2017-05-25

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

Title:
  [1.1.2] VNC: Special keys (Key.UP) dont work --- fixed 2017-05-25

Status in Sikuli:
  Fix Committed

Bug description:
  Hello

  app version:
  sikulix1.1.2.jar
  win10 64-bit
  Vmlite vnc server for android

  my code is:
  sVnc = vncStart('-.-.-.-', 5901)
  sleep(5)
  sVnc.type(Key.UP)

  then throw a exception:

   sVnc.type(Key.UP)
  	at org.sikuli.vnc.VNCRobot.charToXlib(VNCRobot.java:200)
  	at org.sikuli.vnc.VNCRobot.typeChar(VNCRobot.java:127)
  	at org.sikuli.script.Region.keyin(Region.java:4397)
  	at org.sikuli.script.Region.type(Region.java:4265)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  	at java.lang.reflect.Method.invoke(Method.java:498)

  java.lang.IllegalArgumentException:
  java.lang.IllegalArgumentException: Cannot type character ?

  without vnc,running on local is normal  
  sVnc.type(Key.LEFT), sVnc.type(Key.RIGHT), sVnc.type(Key.DOWN) is woking correctly on local and vnc

  Help me please, and i am sorry for my enlish
  Thanks in advance!!!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1693110/+subscriptions


Follow ups