Eclipse Galileo click problem on Ubuntu 9.10

╄→гoц情女王★ 提交于 2019-11-29 08:56:30

问题


I've just upgrade my Ubuntu from 9.04 to 9.10 and I'm experimenting a very annoying problem with Eclipse Galileo.

The problem is that Eclipse doesn't catch some button clicks. For example, I've tried to install a plugin and I clicked on next, and then nothing happened.

I didn't have the same problem before the upgrade of my Ubuntu version.


回答1:


This is a known bug (bug 291257) with Eclipse 3.5 and GTK+ 2.8 (fixed in Eclipse 3.6). The workaround is to set the GDK_NATIVE_WINDOWS environment variable to true before to start Eclipse.

I use the following startup script for Eclipse:

#!/bin/sh
export MOZILLA_FIVE_HOME=/usr/lib/mozilla/
export ECLIPSE_HOME=/opt/IBM/eclipse
export GDK_NATIVE_WINDOWS=true # workaround for Karmic - http://bit.ly/T8MIc
$ECLIPSE_HOME/eclipse $*

The important part is the line export GDK_NATIVE_WINDOWS=true.




回答2:


There was a change in GTK with Karmic. Here are the relevant bugs:

https://bugs.launchpad.net/ubuntu/+source/swt-gtk/+bug/463086

https://bugs.eclipse.org/bugs/show_bug.cgi?id=291257



来源:https://stackoverflow.com/questions/1816485/eclipse-galileo-click-problem-on-ubuntu-9-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!