Strange problem when Mac is set to Dark and Eclipse theme is Light in RCP app [message #1844171] |
Sat, 04 September 2021 10:57 |
Phil Beauvoir Messages: 62 Registered: October 2012 |
Member |
|
|
Eclipse 4.21 RC2
macOS 11.5.2
With the following settings Eclipse correctly uses its own Light theme, even when the macOS theme is set to Dark:
- Mac Preferences, General, Appearance, Dark Theme
- Eclipse Preferences, General, Appearance, Light Theme
However, when using the same settings, our RCP application, Archi (https://www.archimatetool.com), many controls are not rendered using the Eclipse Light theme, as can be seen from the attached screenshot. We use the exact same Light theme as Eclipse itself.
If we build our RCP app against Eclipse 4.18 this problem does not occur.
Also, if I replace our RCP app's executable launcher with one from our Eclipse 4.18 based build, the problem also doesn't occur.
Running the following command for our executable launcher, "Archi" outputs "sdk 10.14", and for the older Eclipse 4.18 based version of the RCP app outputs "sdk 10.10"
otool -l Archi | grep sdk
So I think this has something to do with it.
But I don't understand how it is that this all works OK for Eclipse itself, but not for our RCP app?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03165 seconds