This was due to a bug in SWT or GTK. But the good news is the following fixes the problem
 
export GDK_NATIVE_WINDOWS=1
 
To make it permanent you can add this entry into the /etc/environment file or create a eclipse.sh file and add it before calling /path/to/eclipse

Visitor's picture
answer by Visitor
2 years 27 weeks ago
  • Ubuntu 9.10
    ~/.profile -> export GDK_NATIVE_WINDOWS=1 [failed]
    env GDK_NATIVE_WINDOWS=1 /path/to/eclipse [failed]
    /etc/environment -> export GDK_NATIVE_WINDOWS=1 [failed]
     
    Gnome unsets this particular variable whenever he can. Is there anyway to forbid gnome unsetting this variable?
     

    - Visitor 2 years 27 weeks ago
  • Ubuntu 11.04 released!

    Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

    Read ubuntu 11.10 reviews and share yours now!!

    View in your own language!

    Stay Connected

    Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds