Community
Participate
Working Groups
This is an umbrella bug for tracking related bugs. We have a number of inverted black/white issues, which can now be fixed by using the HOVER_ preference: Bug 505738 – Define a information hover color which JDT, CDT or others can use https://bugs.eclipse.org/bugs/show_bug.cgi?id=505738 Fix can be implemented like in this commit: https://git.eclipse.org/r/#/c/84373/ (See JavaDocView code that acquires color from preference). Using HOVER_ is encouraged because it's properly styled in Dark-theme: https://git.eclipse.org/r/#/c/84374/ I'll add sub-bugs shortly. Note, sub-bugs are not all in Platform.UI. Some are scattered in JDT, CDT, etc..
At the moment I'm working on Webkit2 port. After which I intend to take a look at this business. If anyone is interested in working on it sooner, then please feel free to do so.
Note to self, fix would probably be like: ColorRegistry colorRegistry = JFaceResources.getColorRegistry(); Color foreground= colorRegistry.get("org.eclipse.ui.workbench.HOVER_FOREGROUND"); //$NON-NLS-1$ if (foreground == null) { foreground = display.getSystemColor(SWT.COLOR_INFO_FOREGROUND); } Color background= colorRegistry.get("org.eclipse.ui.workbench.HOVER_BACKGROUND"); //$NON-NLS-1$ if (background == null) { background = display.getSystemColor(SWT.COLOR_INFO_BACKGROUND); } or colorRegistry.getRGB(..) for RGB colors.
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.