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

Tejesh R tr at openjdk.org
Tue Jun 11 11:27:13 UTC 2024


On Fri, 7 Jun 2024 20:34:23 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> Add a check for previous focused window on modal unblocking. If the owner of a closing dialog was the last focused window, then the owner of the dialog should regain focus.
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use == over .equals

What happens when we introduce another component in-between, say for example in the test we add one more Frame in-between printDailogButton and mainFrame. Which frame does get activated on close of print dialog? The intermediate one or mainFrame?

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

PR Review: https://git.openjdk.org/jdk/pull/19588#pullrequestreview-2110143435


More information about the client-libs-dev mailing list