Karmic: Button clicks do not fire.

Bug #460269 reported by moma on 2009-10-25
This bug affects 28 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)

Bug Description

Binary package hint: eclipse


I have downloaded the latest Eclipse IDE from http://www.eclipse.org/downloads/ to do some work with Java on Google's Android platform. But in Karmic, some button events do not fire when clicked. I think this is a GTK related issue.

Ubuntu has a fresh Eclipse package but it cannot be used for Google's Android related development. It (the simple Eclipse classic package) lacks some feature such as XML editor, therefore we must get Eclipse from http://www.eclipse.org/downloads/. Also, Android needs Sun's Java 1.6. It won't work with GCJ or OpenJDK Java solutions.

I think the click-event problems occurs in some other places too.

Demonstration video:

Android guide for Jaynty:

moma (osmoma) wrote :


This thread gives a quick and simple solution.

Start eclipse with
$ cd eclipse
$ export GDK_NATIVE_WINDOWS=true
$ ./eclipse

Or use this one liner:
$ GDK_NATIVE_WINDOWS=true $HOME/eclipse/eclipse

I've installed eclipse to $HOME/eclipse/.
Android developers should download the Eclipse from http://www.eclipse.org/downloads/, take "Eclipse IDE for Java EE Developers (188 MB)".

It would have sucked a lot if we had to use Jaunty for Android development. Now we can rock Karmic, Eclipse and Android all together.

Anakin Starkiller (sunrider) wrote :

It's not only Eclipse but every java application ;)

asch (asch) wrote :

This bug may also be connected with this one:


Just a guess, but the sympthoms are the same.

Garfield (kiddyfurby) wrote :

my experience is that this affects java apps, not just eclipse, marking it as a eclipse bug is wrong in that case.
for those who need to use java apps, here's a little tip:
after clicking the button, use space or enter to activate the button

Rockwalrus (rockwalrus) wrote :

Garfield: if you can reproduce with a non-SWT java application, please file a new bug against OpenJDK.

Garfield (kiddyfurby) wrote :

i've double checked ... the app in question was android sdk, and it does use SWT
so yes this is a SWT problem

mathew (meta23) wrote :

Also affects IBM Lotus Sametime, which is an Eclipse/SWT application.

I have tested with IBM JDK and it is still the same, so it is not OpenJDK problem. Ofcourse I only tested with eclipse applications. Have not tested with non SWT UI.

Echo (echofloripa) wrote :

In lotus notes, which is also made in swt, the check boxes don't work.

a solution can be found here:

On Wed, Dec 16, 2009 at 3:50 PM, Emerson Cargnin <email address hidden> wrote:
> *** This bug is a duplicate of bug 458703 ***
>    https://bugs.launchpad.net/bugs/458703
> In lotus notes, which is also made in swt, the check boxes don't work.
> --
> Karmic: Button clicks do not fire.
> https://bugs.launchpad.net/bugs/460269
> You received this bug notification because you are a direct subscriber
> of the bug.

Microsoft gives you windows, Linux gives you the whole house.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.