Community
Participate
Working Groups
I20140429-2000. With the fix for bug 430872 the background was correctly decoupled from the tab bg end color (good), however, it is now wrongly connected to the active, unselected part color. Instead, it should be white.
Daniel, this must be fixed for M7.
Created attachment 242530 [details] Screenshot of the "Source not found" editor. The result of the bug is that some views and editors look really bad, e.g. the "Source not found" editor - see attached screenshot.
Created attachment 242539 [details] The empty Console and Outline views in the Classic theme (In reply to Dani Megert from comment #0) > I20140429-2000. > > With the fix for bug 430872 the background was correctly decoupled from the > tab bg end color (good), however, it is now wrongly connected to the active, > unselected part color. Instead, it should be white. Just to clarify - for the empty views it works in the same way as in the 'classic' theme, see attachment. Since the 'classic' theme has got mainly the gray colors so it is not so visible. I agree that it should be white and I work on the fix for that Daniel
The change in I20140429-2000 brokes also the dark theme in the way reported by Dani. I attach the screenshots.
Created attachment 242543 [details] dark before
Created attachment 242544 [details] dark after
(In reply to Andrea Guarinoni from comment #6) > Created attachment 242544 [details] > dark after See the bug 430872 for more details Daniel
(In reply to Daniel Rolka from comment #7) > (In reply to Andrea Guarinoni from comment #6) > > Created attachment 242544 [details] > > dark after > > See the bug 430872 for more details > > Daniel I think it is proper time for extracting the old version of the CTabRendering class to the 'org.eclipse.ui.themes' bundle and use it as the 'Dark' theme specific renderer for the CTabFolder items Daniel
Created attachment 242545 [details] Bad toolbar on package explorer
(In reply to Paul Webster from comment #9) > Created attachment 242545 [details] > Bad toolbar on package explorer It affects the 'inner' menu of any Part, if you increase your package-explorer width then the menu will fit on the tab's space and only the line that should contain the empty 'menu' will be painted with gray. The opposite happens if you reduce the width of other Parts. The background color of the 'inner' menu of CTabFolder with CTabRendering now is painted with the same gradient of 'swt-unselected-tabs-color'. Instead, it should be controlled in a separated way. Eg. the 'background' and 'background-color' properties of CTabFolder with CTabRendering seem to be unused.
(In reply to Daniel Rolka from comment #3) > I agree that it should be white and I work on the fix for that > > Daniel Yes, initially white. The bonus question is, whether you can connect it to an existing preference. In 3.x / classic this was always the gray color coming from SWT.
(In reply to Dani Megert from comment #11) > (In reply to Daniel Rolka from comment #3) > > I agree that it should be white and I work on the fix for that > > > > Daniel > > Yes, initially white. The bonus question is, whether you can connect it to > an existing preference. In 3.x / classic this was always the gray color > coming from SWT. We support the ColorDefinitions and the SWT color constants for the color values in the CSS files so we should be able to do it. However for now I would like to commit the fixed version (last days of the M7) Daniel
(In reply to Daniel Rolka from comment #12) > (In reply to Dani Megert from comment #11) > > (In reply to Daniel Rolka from comment #3) > > > I agree that it should be white and I work on the fix for that > > > > > > Daniel > > > > Yes, initially white. The bonus question is, whether you can connect it to > > an existing preference. In 3.x / classic this was always the gray color > > coming from SWT. > > We support the ColorDefinitions and the SWT color constants for the color > values in the CSS files so we should be able to do it. However for now I > would like to commit the fixed version (last days of the M7) Right. Using the SWT color wouldn't work since the default is white and not the SWT color we used in 3.x / classic.
Released as: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=bd6eb85ddf810df4e8491e0bd38dfa1ec29ea1d2 Probably the 'Dark' theme needs to be better adjusted, but for now it works fine for me Daniel
In 4.4.0.I20140501-0200 I'm still seeing the 'active' color bleed into the Outline view's area if you activate it with no editors open...
Daniel I tried the latest I20140501-0200 that contains the fix, I attach the screenshots of it under Windows 7. Is it how is intended to be? Unfortunately, if the background-color of the inner-menu of CTabFolder remains linked to the value of 'swt-unselected-tabs-color', there is no CSS hacks/fixes to restore the look of the 'Dark' theme. In my opinion, it's also better to leave the ToolBars unstyled in CSS because they automatically inherit the values from the parent widget and can be positioned into different kinds of Composites that can have different colors so forcing them to a fixed color can generate artifacts. (anyhow, for the other themes, except for the borders, a look similar to the current one can be obtained also with the previous version of the renderer by tweaking the gradients)
Created attachment 242609 [details] I20140501-0200_themes_screenshots
Filed bug 434134 to fix the problems from comment 15 to comment 17.
Verified in the build: 4.4RC3 Daniel