← Back to team overview

sikuli-driver team mailing list archive

[Bug 1673089] Re: [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google search field --- workaround

 

** Description changed:

+ ----------------- findings until now
+ Seems to be related to the possible selection of accented characters if the key is held for some time (which is valid for e and s).
+ The problem seems to be somewhere between the handling of the search field input and the way Java Robot types a character.
+ More tests have to be made.
+ 
+ ----------------- workaround
+ use paste() for the text parts and type() only for typing functional keys:
+ paste("test"); type(Key.ENTER)
+ 
+ --------------------------------------------
+ 
  We are experiencing issues with type() command under Mac OS Sierra.
  
  -- while typing accent menu appear -  see
  https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/PL124/S0120_AccentMenu.png
  
  -- typing actually miss some chars. For example typing "test" results in
  "tt" - https://www.screencast.com/t/xL79S0JK
  
  -- typing doesn't fire onKeyUp event in some fields(typing manually
  fires events)
  
- 
- Please note that we do not have above issues with El Capitan and Yosemite Mac OS versions. We tried latest nightly Sikuli build as well. Java versions we are using is 1.8.121(latest)
+ Please note that we do not have above issues with El Capitan and
+ Yosemite Mac OS versions. We tried latest nightly Sikuli build as well.
+ Java versions we are using is 1.8.121(latest)

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

Title:
  [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google
  search field --- workaround

Status in Sikuli:
  Confirmed

Bug description:
  ----------------- findings until now
  Seems to be related to the possible selection of accented characters if the key is held for some time (which is valid for e and s).
  The problem seems to be somewhere between the handling of the search field input and the way Java Robot types a character.
  More tests have to be made.

  ----------------- workaround
  use paste() for the text parts and type() only for typing functional keys:
  paste("test"); type(Key.ENTER)

  --------------------------------------------

  We are experiencing issues with type() command under Mac OS Sierra.

  -- while typing accent menu appear -  see
  https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/PL124/S0120_AccentMenu.png

  -- typing actually miss some chars. For example typing "test" results
  in "tt" - https://www.screencast.com/t/xL79S0JK

  -- typing doesn't fire onKeyUp event in some fields(typing manually
  fires events)

  Please note that we do not have above issues with El Capitan and
  Yosemite Mac OS versions. We tried latest nightly Sikuli build as
  well. Java versions we are using is 1.8.121(latest)

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


References