Community
Participate
Working Groups
Created attachment 244776 [details] Screenshot
Can the notication popup read some common platform preference (like console color, or text editor main font color) which is already styled by luna dark theme?
It probably could. :) It looks like it's already trying to do that because the colours are different with that theme, but clearly the colours that it's reading are not good choices.
Created attachment 248621 [details] screenshot using another dark theme Just to add another test data point, I'm using Luna with the eclipse-ui-theme plugin[1], Moonrise look-and-feel with the RainbowDrops.epf[2] syntax color presets. [1] https://github.com/guari/eclipse-ui-theme [2] https://github.com/guari/eclipse-ui-theme/blob/master/com.github.eclipseuitheme.themes.plugin/bin/color-scheme/RainbowDrops.epf
Related to bug 460623.
Also related: bug 428324
*** Bug 466833 has been marked as a duplicate of this bug. ***
I've merged https://git.eclipse.org/r/#/c/48483/ which seems to fix the issue on Windows, but we'll need to test it on other platforms. The fix will be available from the weekly update site http://download.eclipse.org/mylyn/snapshots/weekly within an hour.
Fix seems to be good on Mac too.
Thanks for checking that!
Tested this change on OpenSUSE. It fixes the dark theme notification on Eclipse Luna and notifications are unchanged in Eclipse 3.8.
Also tested this in Eclipse Luna for Windows and Linux (OpenSUSE) with the Moonrise UI Eclipse theme and multiple color themes (including Rainbow Drops, Sublime Text). The Mylyn notification is fixed. It seems like the notification background is determined by the Eclipse theme and the color theme has no effect on it.
Tested on Mac: Luna with dark and moonrise themes and 3.8.
So there seems to be an issue with the borders on dark-themed notifications. It looks like the border is being overwritten by some CSS values, so the border does not show on the dark theme. The light themes (tested on Classic, Windows and Windows XP Blue themes) the border does show and it doesn't seem like their values are overwritten by CSS.
Based on the screenshots, it seems that the border is being drawn, but for some reason the colour is set by the theme to the background colour and we are not able to change that. It's not clear how the current borders are being drawn but they seem to come from the shell. If we set a border using the SWT.BORDER style bit on the composite, it shows up but doesn't have rounded corners. That could be a workaround for the dark theme but it's not clear how we would determine when we need to set that bit, so we'll leave it as is for now. The original issue of unreadable text is fixed.
Work finally ok. THANK YOU!!! Links styling was reported on SWT level: bug 401015
I think we will need to revert the change because it has replaced the nice gradient background with a solid grey. I'm not sure if we'll be able to support the Dark theme for Mars.
I think that ideally the theme would provide the gradient color. It could then be customized within the dark theme.
Chris is looking into whether it's possible to get suitable colours from the theme manager.
Reverted the changes in https://git.eclipse.org/r/#/c/48483/ to re-introduce the gradient to the notifications. We are now retrieving background color from the theme CSS if it exists (seems like it is only in the Dark theme in the standard Eclipse themes for Windows). If it doesn't exist it will fall back to the old way of retrieving the background color. This background color is then blended to produce the gradient. Tested on Eclipse Luna on all of the default themes for Windows and Ubuntu. Also tested that the notification background is displayed properly on Eclipse 3.8.
Well, we haven't merged the change yet, but that's what we're considering doing.
Also tested on Mac OSX on the default Eclipse Luna and Eclipse 3.8 themes.
Chris, could you also test the Dark theme and the standard theme with Mars RC3 https://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsrc3 on all three platforms (mac, linux, windows), and post a screenshot showing the 6 different versions of the popup?
Created attachment 254206 [details] OSX Dark Theme Notification on Mars
Created attachment 254207 [details] OSX Mac (Default) Theme on Mars
Created attachment 254208 [details] Ubuntu Dark Theme on Mars
Created attachment 254209 [details] Ubuntu GTK Theme on Mars
Created attachment 254210 [details] Windows Dark Theme on Mars
Created attachment 254211 [details] Windows "Windows" (Default) Theme on Mars
Thanks Chris. We ended up modifying it slightly so that it only uses the theme colour if it's significantly different from the standard background colour, because it seems to look better that way. The upshot of all this is that the behaviour will be exactly the same as it was in previous releases except for themes with very different background colours, like the dark theme
I believe this was supposed to be fixed in latest Mylyn release (3.16). However, this does not seem to work for me with Eclipse Luna SR2 (4.4.2) in Windows 8.1. I have tried changing from Dark to Classic, saving, restarting and changing back to Dark and restarting again. The Notification window still stays with the default theme colors.
I think this should work on Luna with Mylyn Commons 3.16. Toni, could you attach your Eclipse error log to help us investigate?
Created attachment 255816 [details] Eclipse error log Mylyn errors especially noteworthy on days 2015-07-08 - 2015-07-10.
Sorry for the long delay, I was on vacation. The most interesting times on that log should be between 2015-07-08 and 2015-07-10 when I tried changing the themes to get Mylyn coloring working.
Thanks. There is an NPE in the log which I'll push a fix for now, but it is probably not related. Have you tried upgrading to Mars?
New Gerrit change created: https://git.eclipse.org/r/53659
Gerrit change https://git.eclipse.org/r/53659 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.commons.git/commit/?id=2790406d64853459a59ef459868d894e0db7e6e9
I upgraded to Mars and it seems that the problem is fixed.
Great, thanks for letting me know!