<AWT Dev>  Review request for 8155197: Focus transition issue
dmitry.markov at oracle.com
Sat Sep 23 15:25:19 UTC 2017
Could you review a fix for jdk10, please?
Currently we restore focus synchronously to a component if the window (which contains it) owns the focus. However if another window/dialog is displayed at the same time, the first window loses focus, (i.e. synchronous focus request failed) and the focus target is shifted to the next component in the focus traversal cycle.
It is necessary to check the result of synchronous focus request for a component. If the focus request’s failed because the contained window lost focus, we should restore focus to this component next time when its parent window obtains focus.
I ran corresponding JCK and regression tests and did not observe any new failures.
More information about the awt-dev