Community
Participate
Working Groups
Steps to reproduce Reproduced on 3.4.1 and SDK-I20130505-2000 (4.3) 1. Switch windows theme to high contrast and start Eclipse 2. Go to Windows->Preferences->Colors and change i.e. foreground color for content assist to blue 3. Use content assist -> The foreground color is blue 4. Restart Eclipse and use content assist -> The foreground color for content assist is the same as in point 1 but should be blue (as set in point 2).
There is a different preference saved depending on the theme. See org.eclipse.ui.internal.themes.ThemeElementHelper.createPreferenceKey(ITheme, String) (http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.ui.workbench/Eclipse%20UI/org/eclipse/ui/internal/themes/ThemeElementHelper.java) Probably when loading the preferences there are default loaded.
Created attachment 232737 [details] patch v1 It seems that the colors were incorrectly initialized in Workbench. This simple patch resolves this issue.
Created attachment 232753 [details] patch36-38 The patch from the previous comment applies to head and 4.2.2. We need the patch to all versions since 3.6. The patch attached here applies to version between 3.6.2 and 3.8.2.
John, I'm not sure how far back we can go...do you know ?
At Eclipse we only currently have one maintenance stream: 4.3.1. IBM does builds of older streams but that should be requested through IBM channels.
I reviewed and tested the fix - it is good for 4.4 and backports. Krzysztof, you need to add the following statement: This contribution complies with http://www.eclipse.org/legal/CoO.php and clone this bug for each backport.
This contribution complies with http://www.eclipse.org/legal/CoO.php
Fixed with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9e2a946cff3de73b5f49fad5d333a16437a69740
Verified in the build: I20130805-2000