On Mon, 8 Sep 2025 09:44:30 GMT, Srinivas Mandalika <[email protected]> 
wrote:

> Test Name: java/awt/Modal/PrintDialogsTest/PrintDialogsTest.java
> Updated the test instructions for better clarity, formatting and removed its 
> entry from the ProblemList.txt.

test/jdk/java/awt/Modal/PrintDialogsTest/PrintDialogsTest.java line 65:

> 63:         "Verification step:\n" +
> 64:         "Button is presseed - only if Modality Selection was 'Non-modal' 
> or 'Modeless'.\n" +
> 65:         "In all other cases, Window (3) should block input to Windows (1) 
> and (2).\n\n" +

I'm not sure this is correct. Document modal is not discussed here and its 
behavior will depend on the parent selection. If it is Dialog or Frame it will 
block. If it hidden or NULL, it won't block.
I see that on Mac and it makes sense if we consider that only in the 
Dialog/Frame cases are we making these the parent of the modal dialog. I've not 
tried other platforms but you should check but this is core AWT behavior so I 
hope it is the same.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27139#discussion_r2349715309

Reply via email to