Zend - The PHP Company


Search:    

Zend Studio 7 GUI Problems in Ubuntu 9.10 "Karmic Koala"

Article ID: 435
Last updated: 22 Jun, 2010
Views: 17661

This article applies to:

[ Zend Studio 7.0 ]
[ Linux ]


Symptom

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.

Technical Details

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:

  1. Start Zend Studio from the terminal with the following command or modify the program launcher accordingly:
GDK_NATIVE_WINDOWS=1 ./ZendStudio
  1. Create a shell script and run it instead of the ZendStudio binary:
Example of Zend Studio script - ZendStudioFixed.sh
#!/bin/bash
export GDK_NATIVE_WINDOWS=1
/usr/local/Zend/ZendStudio-7.0.2/ZendStudio '$@'

This article was:   Helpful | Not Helpful
Also read
document Zend Studio GUI Problems on openSUSE 11.2

External links
Bug in Ubuntu Launchpad
Bug in Eclipse BugZilla
Bug in GNOME BugZilla

Prev   Next
Connecting Zend Studio to Zend Debugger over an SSH Tunnel     How to Configure a Different Port for an FTP / SFTP Connection

RSS