On Tue, 18 Jan 2022 23:35:43 GMT, Jose Pereda <jper...@openjdk.org> wrote:

>> Martin Fox has refreshed the contents of this pull request, and previous 
>> commits have been removed. The incremental views will show differences 
>> compared to the previous content of the PR. The pull request contains one 
>> new commit since the last revision:
>> 
>>   Re-instating fix for Cmd shortcut being handled by two windows
>
> tests/system/src/test/java/test/robot/javafx/scene/DoubleShortcutProcessing.java
>  line 53:
> 
>> 51: // When a key equivalent closes a window it can be passed
>> 52: // to the new key window and processed twice.
>> 53: public class DoubleShortcutProcessing {
> 
> When I launch the test with: 
> 
> sh gradlew -PUSE_ROBOT=true -PFULL_TEST=true :systemTests:test 
> --tests=test.robot.javafx.scene.DoubleShortcutProcessing
> 
> I get the system dialog "Accessibility Access (Events)" with the message 
> "'java' would like to control this computer using accessibility features."
> 
> After adding java to Security&Privacy->accessibility, the test works fine.
> 
> Maybe this need to be added to the javadoc of the test.

I wouldn't know what to write. On my system adding 'java' doesn't fix the 
problem, the OS insists I have to add 'Terminal'. In general it's easier to 
bump into this dialog and then go to System Preferences since the OS will have 
added the executable to the list which is convenient for a file like 
/usr/bin/java that's normally hidden.

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

PR: https://git.openjdk.java.net/jfx/pull/715

Reply via email to