Dialogue box buttons don't work in Eclipse on Ubuntu 9.10

I am having trouble with Eclipse 3.5 on Ubuntu. After I upgraded from Ubuntu 9.04 to 9.10 I have discovered that buttons with dialogue boxes no longer work correctly - nothing happens when clicking one.

This occurred only after the upgrade, so I'm guessing it's something to with the new Gnome or GTK libraries.

A bit more detail of my environment:

  • Ubuntu desktop 9.10 64bit
  • Compiz (nvidia) on dual screen
  • Java from package openjdk-6-jdk
  • Eclipse 3.5 from eclipse.org binary

I am able to use the keyboard to select/activate buttons as a temporary workaround, but I would appreciate a better solution.


Solution 1:

It's apparently a known bug in Eclipse + Compiz that can be fixed by setting GDK_NATIVE_WINDOWS=true before running eclipse.

http://mou.me.uk/2009/10/31/fixing-eclipse-in-ubuntu-9-10-karmic-koala/

Solution 2:

Try to deactivate Compiz and see if it helps, maybe it has problems with the dialog from Eclipse on your computer, and it makes them appear, but doesn't take mouse events after. (like an unfinished animation or something).

Edit: Ok, so Compiz is the problem, according to your comment. To make a smaller workaround, at first, maybe simply deactivate Compiz effects on small windows like dialogs, I remember there was such option. Maybe you can keep it for most windows, this way.

Other than that, besides trying to change parameters in Compiz, I don't have a better solution, for now.