Community
Participate
Working Groups
Eclipse 4.21 AdoptOpenJDK-11.0.11+9 macOS Mojave, Catalina and Big Sur 1. Set the macOS system theme to Dark (System Preferences, General, Appearance, Dark) 2. Launch Eclipse 3. Run/Debug a child Eclipse instance 4. Set the child Eclipse theme to Light (Preferences, General, Appearance, Theme) Only some of the light theme is working.
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.