On Tue, 4 Apr 2023 08:35:52 GMT, Jose Pereda <jper...@openjdk.org> wrote:
>> @jperedadnr You set up the test correctly. I think you need to need to allow >> the 'terminal' application to use the accessibility API so the Java robot >> can send keyboard events. I can't provide you with the exact setting since >> I'm away from my Mac until the end of this week. When I get back I'll send >> details and add a comment to the test file. Apologies, I set up my Mac so >> long ago I forgot about this hiccup. > > Great, that helps: after enabling Dock -> Privacy&Security -> Accessibility > -> Terminal, tests for all 5 keyboards work, but only "without combinations": > > [Mac] Testing 83 keys on U.S. English without combinations > Tested 83 keys with 0 failures > ... > [Mac] Testing 78 keys on German without combinations > Tested 78 keys with 0 failures > > However, without Keypad/All combinations fail: > > [Mac] Testing 80 keys on French with all combinations > Failed: code A did not match combination 'A' > ... > Failed: code Minus did not match combination '_' > Tested 80 keys with 45 failures > ``` > is that expected? Yes, the KeyCharacterCombination failures are expected. Fixing those will require a separate PR. I’m hoping Linux PR #694 will be accepted and then I can extend that approach to the Mac. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/425#discussion_r1157864676