Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352864 - While showing a primary modal dialog the display's menuBar is shown
Summary: While showing a primary modal dialog the display's menuBar is shown
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-22 09:54 EDT by Thomas Singer CLA
Modified: 2012-11-08 04:01 EST (History)
2 users (show)

See Also:


Attachments
Sample to reproduce the bug (2.20 KB, text/plain)
2011-07-22 09:55 EDT, Thomas Singer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Singer CLA 2011-07-22 09:54:43 EDT
Build Identifier: 3.7.0.v3735b

See steps to reproduce. The shell-less (display's) menubar must only be shown if no other application window is visible! When showing a parent-modal dialog, the menubar of the parent frame must remain visible and accessible. If an application-modal dialog is shown instead, the menubar must not be accessible.

Reproducible: Always

Steps to Reproduce:
1. run the attached example on OS X 10.6 or 10.7
=> the shell-less menu bar with the "Window" menu is shown
2. select "Window|New Window"
=> a new shell opens with its own menu containing a "File" menu
3. select "File|Show Parent-Model Dialog"
=> the dialog is shown and the shell-less menu bar allowing to open new shells
Comment 1 Thomas Singer CLA 2011-07-22 09:55:59 EDT
Created attachment 200188 [details]
Sample to reproduce the bug
Comment 2 Felipe Heidrich CLA 2011-07-25 12:29:30 EDT
Lakshmi, happens on 10.6, can you take a look at this problem ?
thank you
Comment 3 Thomas Singer CLA 2011-08-05 00:09:04 EDT
Please increase the priority of this bug. It allows the user the create an inconsistent application state easily, but it is hard to prevent from our side.
Comment 4 Thomas Singer CLA 2011-08-16 06:48:55 EDT
What work-around you are suggesting?
Comment 5 Lakshmi P Shanmugam CLA 2011-08-16 09:09:42 EDT
(In reply to comment #0)

> 3. select "File|Show Parent-Model Dialog"
> => the dialog is shown and the shell-less menu bar allowing to open new shells
The application menu bar is shown here because the new Shell - dialogShell doesn't have a menu bar set to it. It looks like it is the correct behavior.
Comment 6 Thomas Singer CLA 2011-08-16 13:48:56 EDT
I don't know any native OS X application which shows the application menu while showing a modal dialog. Do you know one?
Comment 7 Thomas Singer CLA 2011-08-29 14:51:04 EDT
How I can work around the current behavior? I need to have the parent shell menu shown when a parent modal dialog is displayed.
Comment 8 Thomas Singer CLA 2012-11-08 04:01:15 EST
Seems to be as-designed.