Community
Participate
Working Groups
When clicking in a menu, Menu#_setVisible calls Control#WM_ENTERMENULOOP via OS.TrackPopupMenu (handle, flags, nX, nY, 0, hwndParent, null) (line 253). I observed WM_EXITMENULOOP to be called e.g. when focusing another UI element. But if I close the shell immediatly after clicking in a menu, WM_EXITMENULOOP is not called. That causes the Display#externalEventLoop boolean not be set to 'false' after the menu loop.
Can you give an example Snippet to reproduce the issue? I tried but could not find the right combination for the described behavior.