Hello, I'm not familiar with launchpad bug management. This issue can be closed though.
I reformatted the Mac Mini and installed a fresh version of macOS Monterey without the time machine restore. I tried the latest Java Open JDK 19 and it works fine. I then downloaded Java Open JDK 14 (which we were using previously) and it has the same issue. So this looks like a Java bug somehow. We'll just update to the latest Java JDK to fix this. As a side note, and I'm not sure if it matters or is relevant, but the permissions for Java 19 are added for Terminal but for Java 14 are added for java. Both were run from Terminal via "java -jar sikulixide-2.0.5.jar". It's just a strange observation. Cheers, Devin -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to SikuliX. https://bugs.launchpad.net/bugs/1995401 Title: Fn key appears to be held down in macOS Monterey Status in SikuliX: New Bug description: Hello, I recently upgrade a macOS computer to macOS Monterey. I'm working on porting some Sikuli automated test scripts to work with Monterey. The first issue I encountered is a weird one where it seems like the Fn key is being held down somehow with Sikuli scripts but nothing else. I've tried connecting a Dell USB keyboard and an Apple USB keyboard with no differences. If I do this with either USB keyboard, it works as expected: - Open Finder - Shift + Command + G, to open "Go to" window with an "address bar" - type in "e" - see the character "e" in the address bar If using the macOS keyboard I type in Fn+e then I get an Emoji popup window. When running a Sikuli script, I see the following: - Open Finder - Shift + Command + G, to open "Go to" window with an "address bar" - type in "e", via type("e") - I see the Emoji popup window instead of the character "e" being typed in the address bar I've tried the following with no luck (although it does change the behavior with the Apple keyboard, but no Sikuli): - Settings -> Keyboard -> Modifier Keys... -> Function (fn) Key: No Action It doesn't help. I still get the Emoji window with Sikuli scripts. Other keys do other things. I normally don't use macOS myself so I don't know how to describe these things properly. But when trying to type in a path in the address bar using Sikuli, I'll see various popups for various keys while other keys will move Windows around on the screen, etc depending on which key is being pressed. I suspect that all of them are Fn+<some key> that is activating some keyboard shortcut. I am using Java 14 at the moment. Also, we did a time machine restore from the original macOS machine, so I'm not sure if that's related somehow. For now, I am thinking to just remap the shortcuts to some key combination that the scripts should never press, as per the following: https://discussions.apple.com/thread/253297084 However, I'll need to manually find each key typed by the scripts, and manually add a shortcut to override the default one and it will be very time consuming. I have not yet tried a fresh Monterey install (without the Time Machine restore) or with a newer version of Java. I wanted to first check if there's a setting/option for the Fn key related to this in Sikuli that I couldn't find online. Sorry if this is a known issue, I didn't find anything when searching for "Fn" in the Sikuli bug tracker. Also, searching for Monterey only found bug 1976241. Thanks, Devin To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1995401/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

