On Mon, 21 Dec 2020 12:18:19 GMT, Tejpal Rebari <treb...@openjdk.org> wrote:

>> And does it match the native behavior? I mean different values of 
>> "consumeEventOnClose" weren't a bug. It was intentionally set to the 
>> appropriate value.
>
> yeah , i have checked in windows and ubuntu native apps and it is matching 
> native behaviour.
> The issue is seen in Motif, Nimbus, GTK and windows which sets 
> consumeEventOnClose to true.
> It is not seen in Metal And Aqua which doesn't set this variable and the 
> value from BasicLookAndFeel.java is used which is false.

Can you recheck that using the next usecase:
 - Create menu in the frame
 - Add jbutton to the frame exactly in the place where the menu popup is opened
 - Open menu and click some menu item, will the jbutton be clicked?

-------------

PR: https://git.openjdk.java.net/jdk/pull/600

Reply via email to