2010-01-16

Eclipse Issue With GTK on Fedora 12

i have downloaded Eclipse (Galileo) - downloaded from eclipse.org instead of installing from repository - and was trying to add some plugins when i ran into problems with an unresponsive button. Specifically, after configuring the Name and Location in the Add Site dialog, nothing would happen upon clicking on the OK button. It seemed like an application freeze except that i could still click on Cancel to get out of the dialog.

After spending a good couple of hours trying out a number of different things, including but not limited to, increasing heap size, using different JDK/JRE, using fresh workspace, deleting .eclipse folder, running as root, running as non-root, etc, i got to the point of trying to file a bug report.

It was at the point of searching for similar bugs when i found https://bugs.eclipse.org/bugs/show_bug.cgi?id=298899.

According to the bug report comments, this issue will be fixed in 3.6 as well as 3.5.2. For now the workaround would be to set the environment variable GDK_NATIVE_WINDOWS=true before launching Eclipse.

i.e. i have a script eclipse.sh that contains

#!/bin/sh
export GDK_NATIVE_WINDOWS=true
/opt/eclipse/eclipse


and i launch Eclipse through this script instead.

HTH.

0 comments: