Community
Participate
Working Groups
The GTK dark theme should use colors matching with the default GTK3 Adwaita-dark theme. I am working on a gtk dark theme that should fix most of the color inconsistencies we see with current dark theme. Gerrit is coming soon :)
I look forward to it!
New Gerrit change created: https://git.eclipse.org/r/163800
Created attachment 283066 [details] screencast.mkv Here is the screencast.
*** Bug 563290 has been marked as a duplicate of this bug. ***
Depends on Bug 563001.
(In reply to Amit Mendapara from comment #5) > Depends on Bug 563001. You could use the depends on field for that. :-)
(In reply to Lars Vogel from comment #6) > (In reply to Amit Mendapara from comment #5) > > Depends on Bug 563001. > > You could use the depends on field for that. :-) Thanks!
(In reply to Eclipse Genie from comment #2) > New Gerrit change created: https://git.eclipse.org/r/163800 This change can lead to following error: org.eclipse.swt.SWTException: Graphic is disposed at org.eclipse.swt.SWT.error(SWT.java:4723) at org.eclipse.swt.SWT.error(SWT.java:4638) at org.eclipse.swt.SWT.error(SWT.java:4609) at org.eclipse.swt.graphics.Color.getRGB(Color.java:323) at org.eclipse.ui.themes.ColorUtil.getSystemColor(ColorUtil.java:137) at org.eclipse.ui.themes.ColorUtil.process(ColorUtil.java:48) at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:156) at org.eclipse.ui.internal.themes.ColorDefinition.getValue(ColorDefinition.java:111) at org.eclipse.ui.internal.themes.ThemeElementHelper.installColor(ThemeElementHelper.java:287) at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:184) at org.eclipse.ui.internal.themes.WorkbenchThemeManager.updateThemes(WorkbenchThemeManager.java:176) at org.eclipse.ui.internal.themes.WorkbenchThemeManager.lambda$1(WorkbenchThemeManager.java:147) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5686) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5678) at org.eclipse.swt.widgets.Display.runSettings(Display.java:5008) The code in question "WorkbenchThemeManager.updateThemes" seems too old and related to Windows. We can omit "sendEvent" from "Display.runSettings" but I don't know the purpose of emitting that event.
(In reply to Amit Mendapara from comment #8) > (In reply to Eclipse Genie from comment #2) > > New Gerrit change created: https://git.eclipse.org/r/163800 > > This change can lead to following error: > > org.eclipse.swt.SWTException: Graphic is disposed > at org.eclipse.swt.SWT.error(SWT.java:4723) > at org.eclipse.swt.SWT.error(SWT.java:4638) > at org.eclipse.swt.SWT.error(SWT.java:4609) > at org.eclipse.swt.graphics.Color.getRGB(Color.java:323) > at org.eclipse.ui.themes.ColorUtil.getSystemColor(ColorUtil.java:137) > at org.eclipse.ui.themes.ColorUtil.process(ColorUtil.java:48) > at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:156) > at > org.eclipse.ui.internal.themes.ColorDefinition.getValue(ColorDefinition.java: > 111) > at > org.eclipse.ui.internal.themes.ThemeElementHelper. > installColor(ThemeElementHelper.java:287) > at > org.eclipse.ui.internal.themes.ThemeElementHelper. > populateRegistry(ThemeElementHelper.java:184) > at > org.eclipse.ui.internal.themes.WorkbenchThemeManager. > updateThemes(WorkbenchThemeManager.java:176) > at > org.eclipse.ui.internal.themes.WorkbenchThemeManager. > lambda$1(WorkbenchThemeManager.java:147) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5686) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5678) > at org.eclipse.swt.widgets.Display.runSettings(Display.java:5008) > > > The code in question "WorkbenchThemeManager.updateThemes" seems too old and > related to Windows. We can omit "sendEvent" from "Display.runSettings" but I > don't know the purpose of emitting that event. Sorry, wrong bug report. It's related bug (In reply to Amit Mendapara from comment #8) > (In reply to Eclipse Genie from comment #2) > > New Gerrit change created: https://git.eclipse.org/r/163800 > > This change can lead to following error: > > org.eclipse.swt.SWTException: Graphic is disposed > at org.eclipse.swt.SWT.error(SWT.java:4723) > at org.eclipse.swt.SWT.error(SWT.java:4638) > at org.eclipse.swt.SWT.error(SWT.java:4609) > at org.eclipse.swt.graphics.Color.getRGB(Color.java:323) > at org.eclipse.ui.themes.ColorUtil.getSystemColor(ColorUtil.java:137) > at org.eclipse.ui.themes.ColorUtil.process(ColorUtil.java:48) > at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:156) > at > org.eclipse.ui.internal.themes.ColorDefinition.getValue(ColorDefinition.java: > 111) > at > org.eclipse.ui.internal.themes.ThemeElementHelper. > installColor(ThemeElementHelper.java:287) > at > org.eclipse.ui.internal.themes.ThemeElementHelper. > populateRegistry(ThemeElementHelper.java:184) > at > org.eclipse.ui.internal.themes.WorkbenchThemeManager. > updateThemes(WorkbenchThemeManager.java:176) > at > org.eclipse.ui.internal.themes.WorkbenchThemeManager. > lambda$1(WorkbenchThemeManager.java:147) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5686) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5678) > at org.eclipse.swt.widgets.Display.runSettings(Display.java:5008) > > > The code in question "WorkbenchThemeManager.updateThemes" seems too old and > related to Windows. We can omit "sendEvent" from "Display.runSettings" but I > don't know the purpose of emitting that event. Sorry, it was meant for Bug (In reply to Amit Mendapara from comment #8) > (In reply to Eclipse Genie from comment #2) > > New Gerrit change created: https://git.eclipse.org/r/163800 > > This change can lead to following error: > > org.eclipse.swt.SWTException: Graphic is disposed > at org.eclipse.swt.SWT.error(SWT.java:4723) > at org.eclipse.swt.SWT.error(SWT.java:4638) > at org.eclipse.swt.SWT.error(SWT.java:4609) > at org.eclipse.swt.graphics.Color.getRGB(Color.java:323) > at org.eclipse.ui.themes.ColorUtil.getSystemColor(ColorUtil.java:137) > at org.eclipse.ui.themes.ColorUtil.process(ColorUtil.java:48) > at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:156) > at > org.eclipse.ui.internal.themes.ColorDefinition.getValue(ColorDefinition.java: > 111) > at > org.eclipse.ui.internal.themes.ThemeElementHelper. > installColor(ThemeElementHelper.java:287) > at > org.eclipse.ui.internal.themes.ThemeElementHelper. > populateRegistry(ThemeElementHelper.java:184) > at > org.eclipse.ui.internal.themes.WorkbenchThemeManager. > updateThemes(WorkbenchThemeManager.java:176) > at > org.eclipse.ui.internal.themes.WorkbenchThemeManager. > lambda$1(WorkbenchThemeManager.java:147) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5686) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5678) > at org.eclipse.swt.widgets.Display.runSettings(Display.java:5008) > > > The code in question "WorkbenchThemeManager.updateThemes" seems too old and > related to Windows. We can omit "sendEvent" from "Display.runSettings" but I > don't know the purpose of emitting that event. Sorry, this is specific to Bug 563001 not this one.
Created attachment 283096 [details] screencast-2.mkv Here is the updated screencast. Should be tested with these 3 changes: https://git.eclipse.org/r/163821 https://git.eclipse.org/r/163855 https://git.eclipse.org/r/163800 Alternatively, launch eclipse with GTK_THEME=Adwaita:dark environment with last gerrit patch.
Is there any chance of getting this merged in 4.17?
(In reply to Amit Mendapara from comment #11) > Is there any chance of getting this merged in 4.17? Lets try early 4.18.
Though the new "System" theme is the future, I still would like to see this in 4.18 till new "System" theme is matured.
Mass change to 4.19 M1, please update the target if you have other plans.
Mass move 4.19 M1 bugs to M3
Removing milestone from 4.19 M3 to 4.19, please re-target accordingly.
Mass move out of 4.19
Mass Move out of 4.20