Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #493640 +++ 4.6 RC1 Bug459961Test.testTransparentColorConstantReference consistently fails on CentOs http://download.eclipse.org/eclipse/downloads/drops4/I20160512-1000/testresults/html/org.eclipse.e4.ui.tests.css.swt_ep46I-unit-cen64_linux.gtk.x86_64_8.0.html expected:<255> but was:<237> java.lang.AssertionError: expected:<255> but was:<237> at org.eclipse.e4.ui.tests.css.swt.Bug459961Test.assertRGBAEquals(Bug459961Test.java:46) at org.eclipse.e4.ui.tests.css.swt.Bug459961Test.testTransparentColorConstantReference(Bug459961Test.java:42) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:743) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:351) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492) at org.eclipse.core.launcher.Main.main(Main.java:34) In GTK 3 when a widget is styled using color-transparent css style the resultant background color is background obtained from the gtk theme with transparent flag set. In case of GTK2 it is white with transparent flag set. When we compare with COLOR_TRANSPARENT it fails. Expectation here is color-transparent should manipulate only the transparency flag. should not have default color
Sravan, can you please verify if it still happens with master?
(In reply to Lakshmi Shanmugam from comment #1) > Sravan, can you please verify if it still happens with master? I tested on Ubuntu 17.04 this problem does not reduce.
(In reply to Sravan Kumar Lakkimsetti from comment #2) > (In reply to Lakshmi Shanmugam from comment #1) > > Sravan, can you please verify if it still happens with master? > > I tested on Ubuntu 17.04 this problem does not reduce. I tested with Ubuntu 17.04. This problem does not gets reproduced. But this exists in centos 7/rhel7 which are supported platforms.
(In reply to Sravan Kumar Lakkimsetti from comment #3) > (In reply to Sravan Kumar Lakkimsetti from comment #2) > > (In reply to Lakshmi Shanmugam from comment #1) > > > Sravan, can you please verify if it still happens with master? > > > > I tested on Ubuntu 17.04 this problem does not reduce. > > I tested with Ubuntu 17.04. This problem does not gets reproduced. But this > exists in centos 7/rhel7 which are supported platforms. Looks like something specific to GTK3 version, which is causing the difference across various Linux distro, moving out of Oxygen.
Assigning back to Sravan.
Could not get time to fix this moving out of 4.8
If this doesn't happen on Ubuntu 17.04/18.04 which has GTK3.22 then it probably won't reproduce on RHEL 7.4/7.5 which also has GTK3.22. I'm not sure it's worth the time investment to fix older versions of GTK3 as they are all obsolete: GTK3.22 is the final and stable version of GTK3.
Marking as closed as we haven't seen such test failures lately.
(In reply to Alexander Kurtakov from comment #8) > Marking as closed as we haven't seen such test failures lately. Test was disabled, I push an Gerrit to activate it again. Works fine on my Linux.
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/192365
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/192365 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=ede69ec7692ff68333487b2a25ba4ddc7a676d6a