| Summary: | SWT.MenuDetect event is missing | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Benjamin Muskalla <b.muskalla> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | ||||||||
| Version: | 1.3 | ||||||||
| Target Milestone: | 1.3 M6 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Benjamin Muskalla
Created attachment 147939 [details]
menudetect-impl.diff
Implementation of the MenuDetect event.
One thing we need to check is which coordinates we get on windows for the event if triggered by the keyboard. On GTK, I get the center of the affected widget (width / 2, height / 2).
Created attachment 147941 [details]
menudetect-usage.diff
Enabled usage of the event in JFace and Workbench. This brings part and perspective menus back. For perspectives, the location is not changed immediately, seems to be an issue with the preference listener. Need to check this again.
Applied both patches to CVS HEAD with a very minor modifications. On windows the coordinates are always the mouse position in the time when the event is generated. |