sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41957
[Bug 1673089] Re: [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google search field --- workaround
** Changed in: sikuli
Importance: Undecided => High
** 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 input
field input and the way Java Robot types a character.
Does not happen if the browser address field is focused using CMD-L
- Happens in TextEdit
+ Happens in TextEdit, Visual Studio code and other editor windows.
I am testing in version 2, where I use JNativeHook, to verify mouse and
keyboard actions: the keypress/keyrelease are correctly given to macOS.
- More tests have to be made.
+ More tests have to be made. No solution for now.
----------------- 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)
** Summary changed:
- [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google search field --- workaround
+ [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google search field and other input fields/areas--- workaround
--
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 and other input fields/areas--- 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 input
field input and the way Java Robot types a character.
Does not happen if the browser address field is focused using CMD-L
Happens in TextEdit, Visual Studio code and other editor windows.
I am testing in version 2, where I use JNativeHook, to verify mouse
and keyboard actions: the keypress/keyrelease are correctly given to
macOS.
More tests have to be made. No solution for now.
----------------- 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