| Summary: | [10.7]Shell toolbar: separator causes toolbar buttons to not show up | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Singer <eclipse> | ||||
| Component: | SWT | Assignee: | Silenio Quarti <Silenio_Quarti> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | eclipse.felipe, lshanmug, pwebster, Silenio_Quarti | ||||
| Version: | 4.1 | ||||||
| Target Milestone: | 3.8 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Singer
Created attachment 200207 [details]
Sample to reproduce the bug
Looks like a bug on OSX 10.7, works fine on my 10.6 system. critical means the bug is crash or a hang. That is not the case here. Changing the priority to major. According the to Mac Lion release notes: http://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKit.html In 10.7, the Customize Toolbar item and the Separator item (with the vertical dots) have been removed from toolbars and customization palettes, and their item identifiers are ignored. Even though the notes says the identifiers are ignored, it seems cocoa has a bug that causes subsequent items to not show. I released a workaround to avoid creating items with the separator identifier. Fixed http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=6e01819248ecead2c3ff7c95ace504bda5ca7a30 What exactly your fix does? Doesn't SWT now support toolbar separators any more on OS X 10.7? Shell toolbar separators are going to be created as simple spacers (no dotted line). I do not see how we can do anything better given that the OS does not support it anymore. (In reply to comment #6) > Shell toolbar separators are going to be created as simple spacers (no dotted > line). That would be fine. I don't know the native Cocoa API - where there spacers *and* separators (dotted line) possible in previous OS X versions? If so, how could they be created with SWT? (In reply to comment #6) > I do not see how we can do anything better given that the OS does not > support it anymore. No problem from my side - I just need some kind of fixed-size separators (and flexible space) and don't really care whether they look like a dotted line or a larger gap. |