Summary: | [Mac] Light theme not rendering on child Eclipse if system theme is set to dark | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Phil Beauvoir <p.beauvoir> | ||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | alexis.drogoul | ||||
Version: | 4.21 | ||||||
Target Milestone: | --- | ||||||
Hardware: | Macintosh | ||||||
OS: | Mac OS X | ||||||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=564645 | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 578260 | ||||||
Attachments: |
|
Description
Phil Beauvoir
2021-09-14 03:36:47 EDT
Created attachment 287125 [details]
Screenshot
Screenshot of child Eclipse
Interestingly, I have exactly the same issue when running a RCP application from Eclipse (see this issue here: https://github.com/gama-platform/gama/issues/3193). All modes work fine except the "light application in a dark os". Add the following to Info.plist in the RCP app: <key>NSRequiresAquaSystemAppearance</key> <true/> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=543889 See https://bugs.eclipse.org/bugs/show_bug.cgi?id=540357 Hi Phil, will try and report back. Thanks for the tip ! @Phil: you saved my day. This is perfectly working. Thanks. (In reply to Alexis Drogoul from comment #5) > @Phil: you saved my day. This is perfectly working. Thanks. Good. It was only by a random chance that I discovered this. But, hey, that's how Eclipse development works - trial and error and no documentation. Yep. I know ! However, it does not change the fact that running the application from Eclipse (w/o the Info.plist being used and read) exposes the same weird combinations of light/dark modes. |