<AWT Dev> [7uX] Review request for 8010721: In JDK7 the menu bar disappears when a Dialog is shown
Leonid Romanov
leonid.romanov at oracle.com
Mon Mar 25 04:51:46 PDT 2013
Hi,
Is this the code that is present in JDK 8 but is absent in JDK 7?
http://hg.openjdk.java.net/jdk8/awt/jdk/diff/094c963dca1b/src/macosx/native/sun/awt/AWTWindow.m
On 3/25/2013 6:01 PM, Vladislav Karnaukhov wrote:
> 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