On Sat, 23 Apr 2022 07:21:51 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:

> Ok, starting from the beginning - there is no possibility to press the 
> Function key with Robot, the corresponding key code (OSX_Function - 0x3F) has 
> not mapped to any of the keys available to Robot. Function key does not act 
> like a caps lock - it acts like a shift. Just like a shift, it can only be 
> fixated by the accessibility feature "sticky keys". Once Function key is 
> released the global state should be changed in a way as if this key is not 
> active. We do not issue key press or key release event for the Function key. 
> The reason of why global state is being changed this way when we issue key 
> press/key release sequence for a totally unrelated key (OSX_DownArrow - 0x7D) 
> is unknown, it happens in the native code outside of our control. All we can 
> do is to eliminate the consequences of this action that started to cause 
> problems in Mac OS X 12.

That description is very helpful, thank you. Based on that it looks like this 
is a bug in the macOS, did we report it to the Apple?

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

PR: https://git.openjdk.java.net/jdk/pull/8320

Reply via email to