diff --git a/com.archimatetool.editor/src/com/archimatetool/editor/SplashHandler.java b/com.archimatetool.editor/src/com/archimatetool/editor/SplashHandler.java index e11e41610..87074e85c 100644 --- a/com.archimatetool.editor/src/com/archimatetool/editor/SplashHandler.java +++ b/com.archimatetool.editor/src/com/archimatetool/editor/SplashHandler.java @@ -54,7 +54,13 @@ public void init(Shell shell) { * See https://github.com/eclipse-platform/eclipse.platform.swt/issues/772 */ private void checkMacBackgroundImageInverted(Shell shell) { - if(PlatformUtils.isMac() && PlatformUtils.compareOSVersion("14.0") >= 0) { //$NON-NLS-1$ + // This was partially fixed for Eclipse 4.30 in org.eclipse.ui.internal.Workbench but that only checks for macOS 14 + // So that fix won't work on macOS 15 and greater. + // https://github.com/eclipse-platform/eclipse.platform.ui/pull/1355/commits/884bb26a23374c5c1def95ca70b7abc74f395382 + // However, there is a better macOS version check in Eclipse 4.31. + // So we'll compare with macOS 15. + // TODO: remove this if and when we target Eclipse 4.31 or greater + if(PlatformUtils.isMac() && PlatformUtils.compareOSVersion("15.0") >= 0) { //$NON-NLS-1$ // Flip the image shell.setBackgroundImage(flipImage(shell.getDisplay(), shell.getBackgroundImage()));