Community
Participate
Working Groups
My CSS-File works fine with Eclipse 4.3.1 but not with 4.4. The used CSS-file is pretty simple: Label { font: Verdana 8px; color: red; } Text { font: Verdana 12px; }
My plugin.xml: <plugin> <extension id="product" point="org.eclipse.core.runtime.products"> <product application="org.eclipse.e4.ui.workbench.swt.E4Application" name="to-do"> <property name="appName" value="to-do"> </property> <property name="lifeCycleURI" value="bundleclass://com.example.e4.rcp.todo/com.example.e4.rcp.todo.lifecycle.Manager"> </property> <property name="applicationCSS" value="platform:/plugin/com.example.e4.rcp.todo/css/default.css"> </property> </product> </extension> </plugin>
Please provide a simple plugin that can be launched so we can see the problem. Do you see any errors with your error log? <runtime_workspace>/.metadata/.log or by running your app with -consoleLog PW
It seems to be the regression introduced by the Bug 355010 - see the comment #22 As the temporary workaround for the issue please use the 'cssTheme' property instead of, like below: <plugin> <extension id="product" point="org.eclipse.core.runtime.products"> <product name="RCP4" application="org.eclipse.e4.ui.workbench.swt.E4Application"> <property name="cssTheme" value="default.theme.id"> </property> <property name="appName" value="RCP4"> </property> </product> </extension> <extension point="org.eclipse.e4.ui.css.swt.theme"> <theme basestylesheeturi="css/default.css" id="default.theme.id" label="Default Theme"> </theme> </extension> </plugin> It will be fixed with the Bug 355010, Daniel
Shall we mark this one as duplicate of Bug 355010?
This is an appropriate bug to fix the usecase in M6. We can make this block any other bug. PW
I'm not sure if we should mark it as 'critical' since there is the workaround for the issue (see Comment 3). I think the 'major' priority is better for it Daniel
(In reply to Daniel Rolka from comment #6) > I'm not sure if we should mark it as 'critical' since there is the > workaround for the issue (see Comment 3). I think the 'major' priority is > better for it Thanks, changed.
I've pushed the patch to Gerrit that fixes the regression: https://git.eclipse.org/r/#/c/21127/ We can skip the bug 355010 opened if we need to change sth in the current implementation or close it when it is all what we wanted to have, Daniel
Released with: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7bc3b56214e9389e8f776ee27705af402e93db94 Daniel
Verified in the build: I20140303-2000 Daniel