Popup Menu closes submenu on left click on Mac . I compared with native menu where clicking on left menu does not close the sub menu.
Step to reproduce
-----------------------
1) Run the https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/PopupMenu/TruncatedPopupMenuTest.java manual jtreg test
2) Follow the instruction from step 1 to 4
3) When following the step 5 Observe that Clicking on the left mouse button the menu and submenu closes. If you see the same then the bug is reproduced.
Comparing with the native
1) Right click on the desktop , a popup is seen.
2) Mouse the mouse pointer on the "Group Stacks by" menu.
3) Left click on the menu, Observe that popup does not gets dispose.
I have attached the screen capture of the same.
Step to reproduce
-----------------------
1) Run the https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/PopupMenu/TruncatedPopupMenuTest.java manual jtreg test
2) Follow the instruction from step 1 to 4
3) When following the step 5 Observe that Clicking on the left mouse button the menu and submenu closes. If you see the same then the bug is reproduced.
Comparing with the native
1) Right click on the desktop , a popup is seen.
2) Mouse the mouse pointer on the "Group Stacks by" menu.
3) Left click on the menu, Observe that popup does not gets dispose.
I have attached the screen capture of the same.