| Summary: | [Menu] Cut off at browser edge at the first time | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Maghen Calinghee <maghen.calinghee> | ||||
| Component: | JFace | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | maghen.calinghee, philippe.nembrard, webmaster | ||||
| Version: | 1.2 | ||||||
| Target Milestone: | 1.3 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Same here. In the first request we unhide the menu and add the buttons afterwards. The second time we already have the menu items and just unhide the menu. I think the call to show() is too early as the menu can't compute it's real size without the buttons and thus is not able to adjust the coordinates. Fixed by re-implementing the client-side menu (see bug 287097) Now it works. Godd job. |
Created attachment 140212 [details] A plug-in project which points out the bug Build ID: 1.2 Steps To Reproduce: When we use a MenuManager to display a context Menu like in a TableViewer, the popup Menu is not displayed entirely when we do a right-click at the bottom edge of the browser. It just happens at the first time, if we try to display it again it works well : the menu is placed at a right position to display all the content. More information: I'm providing a plug-in project which points out the bug. You just have to import it in your IDE and run it as RAP application. To reproduce the bug , you just have to do a right-click at the bottom of the browser to show the context menu. You'll noticed that the popup is cut.