Have a look at https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/442078

The suggested "fix" with the environment variable works for me.

export GDK_NATIVE_WINDOWS=true

Hope it helps