| Summary: | Display#post(Event) confuses mouse buttons 2 and 3 on Cocoa | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | SWT | Assignee: | Lakshmi P Shanmugam <lshanmug> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse.felipe, gheorghe, lshanmug, pwebster, Silenio_Quarti | ||||
| Version: | 3.8 | ||||||
| Target Milestone: | 3.8 M4 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 357532 | ||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
Lakshmi, please take a loot at this problem. Thanks. Created attachment 207908 [details]
patch
Felipe, can you please review?
The SWT buttons were not mapped correctly to the CG buttons in Display.post(). The patch fixes this. I was not able to apply the patch using (git am) or egit. Please use 'git format-patch -M origin/master' to create patches. I copied the patch line-by-line and tested. It works fine, please release. (In reply to comment #4) > I was not able to apply the patch using (git am) or egit. > Please use 'git format-patch -M origin/master' to create patches. > > I copied the patch line-by-line and tested. > It works fine, please release. Sorry Felipe, I'm not sure why it doesn't apply. I created the patch using egit. It applies in my workspace but only after setting ignore leading path segments to 3 ... Fixed in master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f5a855e5093f3afa38b5582c7c24b400491769d9 Thanks Felipe! Could you release this to M4? The command from bug 357532 is currently broken on other platforms, since the implementation relies on this Mac-specific bug. Once this fix is declared to go into the next I-build, bug 357532 can be fixed by using "mouseEvent.button = 3;" everywhere. (In reply to comment #7) > Could you release this to M4? > > The command from bug 357532 is currently broken on other platforms, since the > implementation relies on this Mac-specific bug. > > Once this fix is declared to go into the next I-build, bug 357532 can be fixed > by using "mouseEvent.button = 3;" everywhere. The fix will be in tonight's build. |