← Back to team overview

sikuli-driver team mailing list archive

[Bug 619255] Re: type(Key.CTRL + foo) fails silently (64-bit Ubuntu 10.04)

 

** Changed in: sikuli
       Status: New => Invalid

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

Title:
  type(Key.CTRL + foo) fails silently (64-bit Ubuntu 10.04)

Status in Sikuli:
  Invalid

Bug description:
  Open gedit, highlight some text.  Run this Sikuli script:

  type(Key.CTRL + "a")
  type(Key.CTRL + "c")
  popup(Env.getClipboard())

  It should copy the text and display it in the popup.  Instead, it
  simply types the text "ac", and the clipboard contents are unaffected.

  Sikuli 0.10.2, 64-bit Ubuntu 10.04
  $ java -version
  java version "1.6.0_18"
  OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-4ubuntu3)
  OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)

  Note that this works properly:

  keyDown(Key.CTRL)
  type("a")
  keyUp(Key.CTRL)

  keyDown(Key.CTRL)
  type("c")
  keyUp(Key.CTRL)

  popup(Env.getClipboard())