vote up 1 vote down star
1

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.

flag

4 Answers

vote up 2 vote down check

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/

link|flag
Thank-you! This work's nicely. – Chris Harcourt Nov 10 at 20:37
I have this bug and I'm not running compiz (running metcity). This does fix it however. What does that mean? – Draemon Feb 14 at 0:16
vote up 1 vote down

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.

link|flag
Disabling Compiz does fix this - thank you. It's only a workaround, so I'm going to look for a better solution (I miss the scale plugin too much!). – Chris Harcourt Nov 9 at 15:59
It's not compiz. I had the same problem and I'm not running compiz – Draemon Feb 14 at 0:16
@Draemon - for Chris Harcourt, it was linked to Compiz. consider asking a new question, for yourself, referring eventually to this one, explaining your problem, and giving details about your configuration. This place is not a forum, it is a place for questions to be asked and answered. Check the FAQ (superuser.com/faq) for more information about this site. – Gnoupi Feb 15 at 8:29
@Gnoupi: Just because disabling compiz fixed doesn't mean it's a compiz problem. My problem had exactly the same symptoms, and was fixed by exactly the same solution (GDK_NATIVE_WINDOWS=true). The root cause of the problem really isn't compiz, you've just found a second workaround that doesn't work as well as the GDK_NATIVE_WINDOWS=true one. When exactly did I say this was a forum? – Draemon Feb 18 at 16:06
@Draemon - I was telling that for you, that's all. Because the way this site works, is as a Q&A site. A solution was accepted to this question, by someone else, which means this question will never pop back to the front page anymore, and you will not have a chance to get an answer. I found your comment only because it was under my answer. If you are interested in getting an answer, ask your own question, with your details, explaining that it's like this one, but the accepted solution doesn't solve the problem. This way you will be able to give feedback, and maybe find a solution, that's all. – Gnoupi Feb 19 at 8:24
show 2 more comments
vote up 0 vote down

I also have this issue. I don't have a fix, but you can click on a button and hit space/enter to activate it. You can use the keyboard for dialog boxes.

link|flag
vote up 0 vote down

Thank you sooo much for this answer! I set my environment variable and everything worked great! I am using Ubuntu 9.10 w/ jdk 1.6.0_16 and nVidia dual monitors and Eclipse Galileo (3.5.1.M20090917-0800) downloaded straight from Eclipse.org website.

Apparently if you download Eclipse from the Ubuntu site it doesn't have the issue (according to your above blog link)

link|flag
Maybe so, but the accepted answer works for any Eclipse based software (e.g. Spring Tools Suite, Aptanta). – Chris Harcourt Jan 21 at 11:33

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.