This article applies to:
[ Zend Studio 7.0 ]
[ Linux ]
In modern Linux distributions, including Ubuntu 9.10, Fedora 12 and openSUSE 11.2, some buttons in Zend Studio user interface are not working. When such buttons are clicked, they appear to be pressed, but no action follows. There are also other minor GUI problems.
The problem is apparently a consequence of the incompatibility between GTK and SWT libraries used in Ubuntu 9.10 and Eclipse 3.5.x. Currently both GNOME and Eclipse teams report the problem as fixed.
Resolution / Workaround
The problem can be worked around by forcing SWT to use native windows only. This is done by setting the GDK_NATIVE_WINDOWS environment variable to 1 (enabled). Use one of these methods to start Zend Studio:
- Start Zend Studio from the terminal with the following command or modify the program launcher accordingly:
$ GDK_NATIVE_WINDOWS=1 ./ZendStudio
- Create a shell script and run it instead of the ZendStudio binary:
Example of Zend Studio script - ZendStudioFixed.sh