[Z]Ubuntu 9.10 中Eclipse按钮失效问题
升级到UBUNTU 9.10后发现ECLIPSE中弹出窗口上面按钮都不能点了,点了按钮会动一下,但就是不执行它该执行的动作,想着以为是系统的或者JRE的BUG,所以静待系统更新。今天偶然搜索了下,找到解决办法了–
(http://www.norio.be/blog/2009/10/problems-eclipse-buttons-ubuntu-910 , http://qingcaowg.javaeye.com/blog/508183)
After upgrading to Ubuntu 9.10 (Karmic Koala) some buttons no longer work in Eclipse 3.5. Clicking has no effect but keyboard shortcuts still work.
It looks like Eclipse is doing some nasty stuff advanced hacking in SWT on GTK. This bug is fixed in 3.6M2 but you can work around the issue in Eclipse 3.5 by launching Eclipse through the following small shell script (assuming Eclipse is installed in /opt/eclipse-3.5):
#!/bin/sh export GDK_NATIVE_WINDOWS=1 /opt/eclipse-3.5/eclipse

anne said,
November 11, 2009 @ 10:24 am
Thanks a lot!
偶差点儿回滚到9.04