On Tue, 26 Sep 2023 14:46:39 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> I have already tried this using keyboard shortcuts.
>> 
>> Alt+F4 works fine on Window and Linux (many popular DEs close windows by 
>> Alt+F4 by default, e.g. Gnome shell, Plasma).
>> 
>> For macos we don't have a system handler for Cmd + W
>> 
>> But I haven't tried to use mouse on the close button.
>> 
>> I think something could come out of this, Alt+F4 for Windows/Linux, mouse 
>> click on close button for macos.
>> But this will probably be a task for one of the next test sprints.
>
>> But this will probably be a task for one of the next test sprints.
> 
> Absolutely, it's too many changes. Yet it may make the test easier.
> 
> In fact, I thought about iterating the values automatically … and ask the 
> tester to click the Close button on the window. The *do nothing* could be the 
> last option tested, and the frame/dialog would be closed from the handler.
> 
> Another way could be sending the event programmatically. This would automate 
> the test completely. However, we may still leave the manual test… just in 
> case the tester sees anything unusual.

I submitted [JDK-8317107](https://bugs.openjdk.org/browse/JDK-8317107): 
*Investigate automating JFrame/DefaultCloseOperation.java*, so it doesn't get 
lost.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15827#discussion_r1338826849

Reply via email to