[7u4] Review request for 7145768 - [macosx] Regression: failure in b11 of ModalDialogInFocusEventTest
Anton V. Tarasov
anton.tarasov at oracle.com
Mon Mar 12 07:04:32 PDT 2012
Please review a fix for 7145768.
The fix addresses two focus issues:
1. A window's native focus state should be inspected when requestFocusInWindow() call chain is
evaluated. This is to avoid requesting focus to a window when it's not allowed for an unfocused window.
2. Requesting focus to a window being shown should go through the requestWindowFocus() method,
which manages all necessary native focus requests (requests focus to an owner when a simple window
is shown). The changeFocusedWindow() method is called after native focused window is already set
and it just processes this fact on java level.
More information about the macosx-port-dev