<AWT Dev> [7uX] Review request for 8010721: In JDK7 the menu bar disappears when a Dialog is shown

Vladislav Karnaukhov Vladislav.Karnaukhov at oracle.com
Mon Mar 25 07:01:35 PDT 2013


Hello,

please review an initial version of the fix for 8010721.

This solution doesn't handle a situation when a modal dialog is shown. 
In this case we should disable a menu bar' items. My fix doesn't do 
this. I would welcome a suggestion on how we could track a window that 
loses its "key" status.

I know that in jdk8 we track the last key window, however in jdk7 this 
code is absent. Would it be feasible to introduce this code into jdk7? 
The issue is reproducible in jdk8 too BTW, so definitely I'll forward 
this fix into jdk8.

jira: https://jbs.oracle.com/bugs/browse/JDK-8010721
webrev: http://cr.openjdk.java.net/~vkarnauk/8010721/jdk7/webrev.00/

Regards,
- Vlad



More information about the awt-dev mailing list