Bug 579130

Summary: [macOS] Controls inside TabFolder return wrong background color
Product: [Eclipse Project] Platform Reporter: Thomas Singer <ts-swt>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: ts-swt
Version: 4.21   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Snippet
none
Screenshot on macOS 10.14 none

Description Thomas Singer CLA 2022-03-07 07:06:42 EST
Please launch the attached snippet. It will show 2 tabs within a TabFolder and prints the background mode as well as the background color of the TabFolder and the contained Composite. The output on MacOS 10.14 is:

tabFolder.getBackgroundMode() = 0
tabFolder.getBackground() = Color {236, 236, 236, 255}
composite.getBackground() = Color {236, 236, 236, 255}

but when verifying with "/Applications/Utilities/Digital Colour Meter" the color actually is (227, 227, 227).
Comment 1 Thomas Singer CLA 2022-03-07 07:07:22 EST
Created attachment 288176 [details]
Snippet
Comment 2 Thomas Singer CLA 2022-03-07 07:07:39 EST
Created attachment 288177 [details]
Screenshot on macOS 10.14