Bug 579130 - [macOS] Controls inside TabFolder return wrong background color
Summary: [macOS] Controls inside TabFolder return wrong background color
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.21   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-07 07:06 EST by Thomas Singer CLA
Modified: 2022-03-07 07:07 EST (History)
1 user (show)

See Also:


Attachments
Snippet (1.25 KB, text/plain)
2022-03-07 07:07 EST, Thomas Singer CLA
no flags Details
Screenshot on macOS 10.14 (21.98 KB, image/png)
2022-03-07 07:07 EST, Thomas Singer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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