| Summary: | [cocoa] Display.getSystemColor() returns greatly different colors compared to Carbon | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Justin Dolezy <justin> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | lshanmug, skovatch | ||||
| Version: | 3.5 | Keywords: | triaged | ||||
| Target Milestone: | --- | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Justin Dolezy
Created attachment 169613 [details]
Spreadsheet with row colour highlighting indicating trivial/minor/major system colour differences between Carbon and Cocoa
In Carbon the COLOR_WIDGET_xxx_SHADOW values are hard-coded constants because there was no Appearance Manager constant that corresponded to the value, but in Cocoa we use standard NSColor-generated values. For COLOR_TITLE_INACTIVE_FOREGROUND, Carbon is using kThemeTextColorDocumentWindowTitleInactive vs. Cocoa's disabledControlTextColor. I would argue Carbon isn't right here, as the window title has nothing to do with control 'titles'. (In reply to comment #2) > For COLOR_TITLE_INACTIVE_FOREGROUND, Carbon is using > kThemeTextColorDocumentWindowTitleInactive vs. Cocoa's > disabledControlTextColor. I would argue Carbon isn't right here, as the window > title has nothing to do with control 'titles'. Sorry, this remark is wrong... according to the Northover/Wilson SWT book, COLOR_TITLE_xxx do refer to the title bar of a window, as opposed to COLOR_WIDGET_xxx which are for controls in the window. In any event, disabledControlTextColor is more correct than the Carbon version. Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more information. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |