My application shows a small menu bar if no window is shown. Of course, when a window is shown, its menu bar is visible. When now showing a modal dialog on top of this window, what menu bar should be shown - the "application" menu bar or the parent window menu bar?
More information to Roger Attrills comment: If no window is shown, we show a basic ("application") menu bar offering just a few commands (to open new windows). Unfortunately, when showing a parent modal dialog, SWT is showing this basic ("application") menu bar instead of the menu bar of the top-level window which is the parent of the shown modal dialog ("window menu bar").