Summary: | [Mac] Switch to light theme corrupts theme in runtime workbench | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Noopur Gupta <noopur_gupta> | ||||
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | alexis.drogoul, Lars.Vogel, loskutov, sravankumarl | ||||
Version: | 4.17 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Mac OS X | ||||||
See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=566043 https://bugs.eclipse.org/bugs/show_bug.cgi?id=575960 |
||||||
Whiteboard: | |||||||
Attachments: |
|
I see this problem with openjdk-15-ea+28 also. Tested I20200825-1800 using jdk-11.0.6.jdk (oracle) and openjdk-15-b36. The issue is still present. Not sure whether this belongs to swt though. From the screen shot I see that the background for the image is set properly. @lars, Can you please help us here? (In reply to Sravan Kumar Lakkimsetti from comment #3) > Not sure whether this belongs to swt though. From the screen shot I see that > the background for the image is set properly. > > @lars, Can you please help us here? Cannot reproduce on Linux. (In reply to Lars Vogel from comment #4) > (In reply to Sravan Kumar Lakkimsetti from comment #3) > > Not sure whether this belongs to swt though. From the screen shot I see that > > the background for the image is set properly. > > > > @lars, Can you please help us here? > > Cannot reproduce on Linux. Ok, Do you know where the background colors are set when we change the theme? (In reply to Sravan Kumar Lakkimsetti from comment #5) > Ok, Do you know where the background colors are set when we change the theme? Anything in the error log? Like widget is disposed? If I understand this issue correctly, this also happens with a restart of the runtime IDE. We do have a CSS handler for setting the background color, I'm currently working for a customer and cannot look it up. I can check after work tonight, if desired. Since this happens only in the runtime workbench, I consider this low priority. There are no errors in the console or error logs. Mostly I see issue with setting of background color. When ever you have time please let me know where I can look for css handler. Sorry for the delayed response, as I said working for a client, hence I can also very restricted look into Eclipse code. The responsible handler for setting the background color should be: org.eclipse.e4.ui.css.swt.properties.css2.CSSPropertyBackgroundSWTHandler I see the same issue with 4.20 RC2 build I20210603-0040 on using openjdk-16. As I work with the light theme (even while debugging in the runtime workbench), this bug does not allow me to use a JDK after openjdk-11.0.2 for launching my runtime configuration. Any workarounds until this is fixed? Seems like it is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=575960. Interestingly, it also happens in an RCP app I'm developing (see https://github.com/gama-platform/gama/issues/3193). |
Created attachment 283408 [details] Screenshot 4.17, I20200615-1800 Mac OS dark theme. 1. Launch runtime eclipse workbench (child/inner eclipse) from main Eclipse which is using light theme. 2. Switch theme of runtime eclipse to light. 3. Restart. Even after a restart, the theme is corrupted in the runtime eclipse. See attached screenshot. I have tried the following JDKs to launch the runtime eclipse: - openjdk-14_osx-x64 - corrupted - jdk-11.0.6.jdk (oracle) - corrupted - openjdk-11.0.2_osx-x64 - works fine