RFR: 8185429: [macos] After the dialog is closed, there is no window become active.

Sergey Bylokhov serb at openjdk.java.net
Thu Oct 14 18:21:15 UTC 2021


On Sun, 10 Oct 2021 21:26:05 GMT, Alisen Chung <duke at openjdk.java.net> wrote:

> After a modal dialog is closed, its parent window should be pushed to the front and made key.

src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java line 1032:

> 1030:             execute(ptr -> nativePushNSWindowToFront(ptr));
> 1031:         }
> 1032: 

Do not we need to push the previously blocked window upfront only if the blocker window was active?

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

PR: https://git.openjdk.java.net/jdk/pull/5884



More information about the client-libs-dev mailing list