| Summary: | AppMenu is not firing the listeners | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Prakash Rangaraj <prakash> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | RESOLVED INVALID | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | skovatch | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Prakash, your example isn't right. Display.getAppMenuBar() returns a Menu with the SWT.BAR flag set. Menu listeners should be attached to Menus with the DROP_DOWN flag set, so in this example the menu listener should be attached to windowSubMenu at line 52. When I make that change I see menuHidden and menuShown events as expected. |
Created attachment 180478 [details] Sample Sample code in the attachment