Eclipse (Mars 4.5) – Black/Dark glitches on BIRT report Layout view

septiembre 10, 2015

I’ve recently upgraded to Eclipse Mars (4.5). Since now I only use Eclipse to create and edit BIRT reports, I’ve downloaded the “Eclipse IDE for Java and Report Developers”.

When I opened an old report with lots of grids, tables and labels populated from many datasets, I noticed when I was scrolling that some parts of the view had glitches, showing nothing but black zones until I stopped scrolling.

Screenshot from 2015-09-10 11:00:48

To workaround this issue, you can set SWT_GTK3 environment variable to 0. You may export this variable globally on your ~/.profile file, or create a shell script which sets it before launching eclipse, or set it on your launcher (.desktop file), or setting the gtk version to use on your eclipse.ini file.

I opted for the last option since it isolates the setting for the specific instance of eclipse which I’m trying to run. So, you just have to add the following 2 lines on your eclipse.ini before other –launcher.* options

--launcher.GTK_version
2

Environment: Ubuntu 14.04, Java 1.8.0_60, Eclipse 4.5, BIRT 4.5.0

sources:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=426694
https://bugs.eclipse.org/bugs/show_bug.cgi?id=465107
http://alejolp.blogspot.mx/2014/06/eclipse-luna-on-debian-wheezy-crash.html

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: