<AWT Dev> <Awt Dev> [9] Review Request for 8139218: Dialog that opens and closes quickly changes focus in original focusowner

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Fri Feb 5 11:11:01 UTC 2016


The fix looks good to me.

Thanks,
Alexandr.

On 22/12/15 14:20, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8139218
> webrev: http://cr.openjdk.java.net/~ssadetsky/8139218/webrev.00/
>
> The root cause: when window gain focus come for window that is hidden 
> already focus rollback to another window cannot be done synchronously. 
> So number of consequent attempts to set focus to the previous 
> component are usually failed and the focus target is shifted to the 
> next in the focus traversal cycle.
> Solution: try to wait a small time until the parent HW component gain 
> the asynchronous focus from native platform.
>
> --Semyon



More information about the awt-dev mailing list