Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Monday, 12 April 2010

Cannot click eclipse dialog box button

A colleague came to me today and said he couldn't press the 'Finish' button when he was trying to upgrade the eclipse plugin inside Help->Check for Updates. It rings my bell and I did solve the problem when I upgrade my Eclipse to 3.5 a while ago. At that time the problem was around the Search dialog button is unresponsive when I click it. And I can only press 'Enter' in order to issue the search action. I guess it's the same issue and I think it's good to blog it down here in case I forget the solution again.

To solve the problem, you have to set the following variable in your system before you run Eclipse:

export GDK_NATIVE_WINDOWS=true

Then you should be able to click the buttons again.

* System environments: MacOS 10.6.x and Ubuntu 9.x

Friday, 9 January 2009

Eclipse "Dialog refresh" error in Ubuntu 8.x

I have been working on Ubuntu 8.x with Eclipse environment recently. If you are a Eclipse user, you might know that you can search a class file using "Open Type" dialogue by using shortcut "Ctrl+Shift+T" or in the right click menu. However, it started not working since a while ago. It prompt an error dialogue as below:



It has been very frustrating for me that I couldn't use that useful feature. So I started to investigate the problem.

I finally found that the reason that affect Eclipse is the "Assistive Technologies" is turned on. It seems it is unrelated. But it actually affect Eclipse (somehow?!?). So in order to make it works again, the "Assistive Technologies" has to be turned off.

To turn off, choose System->Preferences->Assistive Technologies, uncheck "Enable assistive technologies" as below:



Once finished, restart Gnome, it should work!