Public bug reported:

<Sample code>
RED = 'rai.tif'
GREEN = 'g'
switchApp("Astra")
sleep(0.1)
type("p",KEY_ALT)
sleep(0.2)
type("o")
sleep(0.2)
type(Key.TAB + " ")
sleep(0.2)
type("n",KEY_ALT)
sleep(0.1)
paste(RED)
type(Key.ENTER)
sleep(0.1)
type(Key.TAB + Key.TAB + Key.TAB + Key.TAB + Key.TAB + " ")
sleep(0.2)
type(Key.DELETE)
sleep(0.2)
paste(GREEN)
</Sample code>

At the end, the variable GREEN still uses the same value as RED.  BUT ONLY 
under wine apps like notepad
Using gedit in Ubuntu 12.04 GREEN is properly 'substituted' from clipboard.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  Using Keyboard actions in wine under Linux causes undesired behavior

Status in Sikuli:
  New

Bug description:
  <Sample code>
  RED = 'rai.tif'
  GREEN = 'g'
  switchApp("Astra")
  sleep(0.1)
  type("p",KEY_ALT)
  sleep(0.2)
  type("o")
  sleep(0.2)
  type(Key.TAB + " ")
  sleep(0.2)
  type("n",KEY_ALT)
  sleep(0.1)
  paste(RED)
  type(Key.ENTER)
  sleep(0.1)
  type(Key.TAB + Key.TAB + Key.TAB + Key.TAB + Key.TAB + " ")
  sleep(0.2)
  type(Key.DELETE)
  sleep(0.2)
  paste(GREEN)
  </Sample code>

  At the end, the variable GREEN still uses the same value as RED.  BUT ONLY 
under wine apps like notepad
  Using gedit in Ubuntu 12.04 GREEN is properly 'substituted' from clipboard.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to