<AWT Dev>  RFR: JDK-8146310 [macosx] setDefaultMenuBar does not initialize screen menu bar
Sergey.Bylokhov at oracle.com
Thu Aug 30 17:40:06 UTC 2018
Looks fine, I'll sponsor the fix.
On 22/08/2018 13:19, Alan Snyder wrote:
> Please review this bug fix:
> The root of the problem is that the code to install the default menu bar
> into the screen menu bar is located in the CMenuBar deactivate method.
> If the default menu bar is installed when there is no active window, the
> existing code in _AppMenuBarHandler attempts to trigger the deactivate
> code by creating and destroying an invisible window. This does not work
> if the application is inactive. The solution is to install the default
> menu bar directly in this case.
> If approved, I will need a sponsor…
> Thank you.
Best regards, Sergey.
More information about the awt-dev