Darkest Dark theme not work properly in Eclipse 2018-12-R

Tagged: 

This topic contains 12 replies, has 5 voices, and was last updated by  rebmy 5 days, 12 hours ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #605984 Reply

    rebmy
    Participant

    [Issue Description]
    Failed to remove rounded corners and apply colors.

    This problem not happend in Eclipse 2018-09.

    [Enviroment Information]
    OS: Windows 10 x64 1809(17763.195)
    IDE Package: (Eclipse IDE for C/C++ Developers)
    IDE Version: 2018-12 (4.10.0)
    Theme: DevStyle Theme
    Editor theme: Sublime Monokai True (AT8nAA)
    Relevant Plugins Installed: Null (Totally newly installed Eclipse)

    [Steps to reproduce the issue]
    1. Download and run Eclipse IDE 2018-12: https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2018-12/R/eclipse-cpp-2018-12-R-win32-x86_64.zip
    2. Install Darkest Dark Theme with DevStyle CI 2018.10.24 from Marketplaces.
    3. Reopen Eclipse and see changes.(Attachment)

    Attachments:
    You must be logged in to view attached files.
    #606023 Reply

    support-swapna
    Moderator

    rebmy,

    Thank you for the details and the screenshot. I see the same issue at my end with Darkest Dark.
    I have filed a bug for the dev team to look into it. We will keep you posted about the fix details.

    Apologies for inconvenience caused. Thank you once again for reporting it.

    –Swapna
    Genuitec Support

    #606133 Reply

    alef75
    Participant

    The color problems are present also on eclipse 2018-12 running on ubuntu 16.04 with adwaita dark theme.
    the problems does not appear with eclipse 2018-09

    Attachments:
    You must be logged in to view attached files.
    #606157 Reply

    support-swapna
    Moderator

    alef,

    Thank you for the screenshot. Regarding the previous problem with rounded corners for views, I see it in Eclipse C/C++ 2018-12 and not in Eclipse JEE 2018-12. We will test the Eclipse C/C++ 2018-12 further and keep you posted about the fixes.

    In the meantime, can you please check if you see the color problems in Eclipse’s Dark theme as well? Go to Window > Preferences > General > Appearance and select ‘Dark’ for theme instead of DevStyle and check if the reported problem persists.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

    #606467 Reply

    arjun88
    Participant

    Hi,
    I am also facing similar kind of issue with theme after upgrading from 2018-09 to 2018-12.
    Deep Black is greyish after update.
    PFA attachments showing difference.

    [Enviroment Information]
    OS: Windows 10 x64
    IDE Package: (Eclipse IDE for C/C++ Developers)
    IDE Version: 2018-12 (4.10.0)
    Theme: DevStyle Theme

    • This reply was modified 1 week, 3 days ago by  arjun88.
    Attachments:
    You must be logged in to view attached files.
    #606471 Reply

    aaronlonin
    Moderator

    Thanks for the details! We are investigating this issue, right now it seems to happen only with Eclipse IDE for C/C++ Developers. Some plugin in there is preventing DevStyle from being correctly applied but we haven’t found who or what it is. We will let you know once we get a fix for it.

    Cheers!
    Aaron Lara

    #606479 Reply

    alef75
    Participant

    I confirm that also i my case I’m using CDT
    follows an extract from eclipse configuration info:

    *** Platform Details:

    *** System properties:
    applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
    awt.toolkit=sun.awt.X11.XToolkit
    com.genuitec.eclipse.theming.ui.isDark=true
    com.genuitec.eclipse.theming.ui.isDevStyle=true
    ds.delayed.keepInstances=
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=4.10.0.I20181206-0815
    eclipse.commands=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    /home/afardin/eclipse//plugins/org.eclipse.epp.package.common_4.10.0.20181214-0600/splash.bmp
    -launcher
    /home/afardin/eclipse/eclipse
    -name
    Eclipse
    –launcher.library
    /home/afardin/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.900.v20180922-1751/eclipse_1801.so
    -startup
    /home/afardin/eclipse//plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar
    –launcher.appendVmargs
    -exitdata
    3e0004
    -product
    org.eclipse.epp.package.cpp.product
    -vm

    #606706 Reply

    alef75
    Participant

    I don’t know if it could help but, here follows an eclipse error log that appears in eclipse error log view at each start up:

    java.lang.NoSuchFieldException: COLOR_WIDGET_BACKGROUND
    at java.base/java.lang.Class.getDeclaredField(Class.java:2368)
    at com.genuitec.eclipse.theming.core.internal.ThemingInitOnStartup.overrideLinuxColor(ThemingInitOnStartup.java:166)
    at com.genuitec.eclipse.theming.core.internal.ThemingInitOnStartup.startup(ThemingInitOnStartup.java:152)
    at com.genuitec.eclipse.patches.internal.InstrumentationManager$StartupHook.trigger(InstrumentationManager.java:464)
    at com.genuitec.eclipse.patches.internal.InstrumentationManager.serviceWorkspaceStarted(InstrumentationManager.java:138)
    at com.genuitec.eclipse.patches.internal.InstrumentationManager$1.serviceChanged(InstrumentationManager.java:110)
    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:112)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:923)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:865)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:472)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:490)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1007)
    at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:492)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:782)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:775)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:732)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
    at org.eclipse.osgi.container.Module.doStart(Module.java:588)
    at org.eclipse.osgi.container.Module.start(Module.java:456)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:471)
    at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
    at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:557)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
    at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:39)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:156)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1474)

    #606717 Reply

    support-swapna
    Moderator

    alef75,

    Thank you for sharing the error details.
    We are looking into the reported problems with DD in Eclipse C/C++ 2018-12. We will keep you posted when the fix is out.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

    #606758 Reply

    aaronlonin
    Moderator

    I have excelent news! We have found the root issue and we have a fix that will be available in our next DevStyle Release.

    If you are facing this issue, you can solve it by following the instructions below:

    1. Shut down eclipse.
    2. Download and extract the attached plugins.zip file.
    3. Copy and replace the .jar file included with the one located at <Eclipse Install>/plugins/ directory.
    4. Launch eclipse again and make sure DevStyle is applied.

    Thank you all for helping solving this issue!
    Cheers!
    Aaron Lara

    Attachments:
    You must be logged in to view attached files.
    #606761 Reply

    aaronlonin
    Moderator

    For those who are curious about what was causing this issue, we found that a third party plugin included in Eclipse for C org.eclipse.tracecompass.tmf.ui is contributing a CSS Style to E4 Dark theme with a circular reference to the Eclipse Dark theme, forcing it to be re-applied. We fixed it by ignoring that circular reference when applying DevStyle.

    #606765 Reply

    alef75
    Participant

    I’ve Just applied the patch, now all look good.
    Thank You for the fast fix.

    #606766 Reply

    rebmy
    Participant

    All look good after replace.
    Thanks for your excelent work!

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Darkest Dark theme not work properly in Eclipse 2018-12-R