| Summary: | Menus are not made visible | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Austin Riddle <austin.riddle> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | holger.staudacher | ||||
| Version: | 1.3 | ||||||
| Target Milestone: | 1.3 M6 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Austin Riddle
Hi Austin, can you provide a snippet to reproduce it? This is happening with the business/fancy design. "Normal" menus (e.g. new Menu( shell )) are not affected. I think this has something to do with the new MenuBarManager. I tested it with the RAP demo and many other contributions and all works fine. Austin can you please provide a simple demo bundle which creates the affected menu contributions? Thanks... Hi Austin, I can reproduce the bug, so there is no need for a snippet. The bug also exists without the designs. Steps to reproduce: 1) Start org.eclipse.rap.demo with /rap?startup=default 2) Click on the menu -> nothing happens I used the latest version from HEAD. Created attachment 158573 [details]
Proposed patch
The order of writing different properties in ShellLCA interferes somehow with menus. writeMode() must be called after writeOpen(). For correct maximize/restore behavior writeMode() must be called before writeBounds() ( ControlLCAUtil.writeChanges ).
Applied patch to CVS HEAD. Austin, please reopen if the bug persist. |