Bug 372327 - Editing CSS in Appearance pref page and restarting shows no change
Summary: Editing CSS in Appearance pref page and restarting shows no change
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks: 369796
  Show dependency tree
 
Reported: 2012-02-23 08:14 EST by Paul Webster CLA
Modified: 2020-08-19 05:46 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2012-02-23 08:14:38 EST
I20120222-2200

I open the Appearance pref page and it looks like my CSS entry is already there, but not being honoured.

#org-eclipse-ui-editorss CTabFolder.MPartStack {
   single: true;
}

I clicked OK, and it was still not honoured.  Then I deleted it, clicked OK, and restarted.  When I open the Appearance pref page again, the entry is still there.

Then I deleted it, clicked apply, and clicked OK.  When I re-open the Appearance pref page (no restart) the entry is back (still no effect).

PW
Comment 1 Paul Webster CLA 2012-02-23 08:15:57 EST
Editing the CSS in the pref and just hitting Apply is enough to reset the CSS to its original state.

PW
Comment 2 Paul Webster CLA 2012-03-13 10:54:57 EDT
Looks like this might be fixed in I20120313-0610

PW
Comment 3 Paul Webster CLA 2012-03-15 08:17:27 EDT
This now works correctly in gtk.

But it doesn't work in windows 7.  I can edit the CSS and apply it.  It then accepts the change (turns my editors into unibrow mode).

But if I restart I get *no* css (square tabs, incorrect active part highlighting, etc).

PW
Comment 4 Paul Webster CLA 2012-03-15 08:22:03 EDT
in the console on windows7:


Paul@TP-PWEBSTER /c/eclipse/I20120314-2200
$ eclipse/eclipsec.exe
java.net.UnknownHostException: C
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:206)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:176)
        at java.net.Socket.connect(Socket.java:590)
        at java.net.Socket.connect(Socket.java:539)
        at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:955)
        at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:915)
        at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1010)
        at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:996)
        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
va:306)
        at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
tion.java:405)
        at java.net.URL.openStream(URL.java:1047)
        at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEn
gine.java:361)
        at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEn
gine.java:336)
        at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.restore(ThemeEng
ine.java:469)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initiali
zeStyling(PartRenderingEngine.java:1125)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(Pa
rtRenderingEngine.java:912)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Part
RenderingEngine.java:909)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Wor
kbench.java:85)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:580)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:535)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAppli
cation.java:124)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:353)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:88)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Comment 5 Paul Webster CLA 2012-03-15 08:26:18 EDT
Why not use file.toURI() to get the platform-form?

PW
Comment 7 Paul Webster CLA 2013-03-05 07:41:01 EST
It should be FileLocator.toFileURL(*) if we want to be able to pick up files within a bundle as well as files on the file system.

PW
Comment 8 Paul Webster CLA 2013-03-05 07:41:29 EST
http://wiki.eclipse.org/Platform_UI/How_to_Contribute

PW
Comment 9 Eclipse Genie CLA 2020-08-19 05:46:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.