Eclipse Project SDK R3.0 - SWT Release Notes

### Notices

(c) Copyright IBM Corp. 2000, 2004. All Rights Reserved.

### Known Issues

### Platform - SWT

#### Eclipse plug-in based on the SWT Browser throws exception

The SWT Browser widget uses a platform-specific web browser to render HTML. The org.eclipse.swt.SWTError exception ("No more handles") is thrown on platforms that don't meet the requirements for running the Browser widget. Supported platforms and prerequisites are listed on the SWT FAQ item "Which platforms are supported by the SWT Browser?".

#### Eclipse crashes on RedHat Linux 9 (GTK+ only)

Users of the Bluecurve theme shipped with RedHat Linux 9 may experience problems running Eclipse. These problems may include crashes or reduced performance. (bug 38305, bug 67906, bug 37683, bug 58738)

We recommend changing to a different theme. Under GNOME, open RedHat Menu > Preferences > Theme. Select a theme other than Bluecurve. All applications should update at this point. Under KDE, open RedHatMenu > Run Command... And then type in "gnome-theme-manager" and click "Run". Select a theme other than Bluecurve. The selection may jump to "Custom Theme" afterward; this is normal, and happens because the GNOME window manager is not running. All GTK+ applications should update to the new theme at this point.

#### Eclipse hangs when pasting from an unresponsive application (GTK only)

If the application that is supplying the clipboard material is unresponsive, the paste operation hangs Eclipse for several minutes. This situation can be encountered when copying from an Eclipse target workbench, suspending the target workbench at a breakpoint and pasting into the hosting Eclipse workbench. (bug 44915)

#### Drag and drop on Mac (Mac OS X Carbon only)

The Mac OS X Carbon implementation of SWT does not support dragging from an SWT application to another application. (bug 68212)

#### Components in SWT_AWT are not displayed (Motif only)

On Motif systems (verified on Linux and Solaris) problems have been reported by some developers in the support for embedding AWT widgets within SWT layouts. These can range from the AWT widgets not being properly displayed to Java VM crashes. The cause(s) of these problems has not yet been determined. (bug 68353)

#### Can't expand/collapse TableTree item with mouse (GTK only)

Under certain conditions and on certain versions of GTK, TableTree items, such as those found in Property Sheets, cannot be expanded or collapsed using the mouse. The workaround is to use the right and left arrow keys. (bug 38855)

#### Unable to drag data between applications in simplified Chinese locale (Motif only)

When configured for the simplified Chinese locale, it is not possible to drag data between applications running on the Motif window system. This is a known limitation of the Open Motif library. (bug 29777)

#### Crash when attempting to launch file browser (AIX Motif only)

There is a known AIX graphics bug affecting certain levels of AIX releases. Ensure that the AIX install includes the necessary service updates as described in the "Install notes/requirements for Eclipse on AIX" attachment to the Eclipse bug report. (bug 34524)

#### Available colors on 8-bit Linux (Linux only)

Typically, in Gnome Linux installs running with 8-bit visuals (i.e. 256 color mode), before the Eclipse application is started there are no free colors. This may mean that Eclipse is unable to allocate the default widget background color, causing it to display a white background. The functionality, however, is otherwise unaffected.

#### List and ComboBox on Windows NT (Windows NT only)

On Windows NT only, you should avoid creating items in a `List` or `ComboBox` with strings longer than 1000 characters. Doing so may result in a General Protection Fault. This has been fixed in more recent versions of Windows.

#### Excessive CPU consumption (Linux GTK only)

When using Linux GTK 2.2.1, there are some scenarios where the CPU usage goes to 100% for no good reason. When this occurs, resizing or closing the dialog seems to return the CPU usage to normal. (bug 35443)

#### IME-related crash (Linux Motif only)

When using Linux Motif and GB18030 IME "chinput", Eclipse can crash if the IME client window is left open when the parent window is disposed. (bug 32045)

#### Using IBM J9 VM (Photon and AIX)

On QNX Photon and IBM AIX, the SWT library will not be found when running with an IBM J9 1.5 VM. This is a bug in the IBM J9 class library in version 1.5. You can workaround this problem by adding the SWT library directory to your LD_LIBRARY_PATH environment variable.

#### Missing permissions for SWT native libraries in workspace (HP-UX only)

When retrieving the SWT Motif fragment into an Eclipse workspace, the permissions of the native libraries are reset. This creates a problem on HP-UX because shared libraries need to have execute permission. Attempting to self-host with this fragment throws an UnsatisfiedLinkError...Permission Denied error. You must manually change the permissions to make these libraries accessible (assume the workspace is at `/workspace`):

> > `cd /workspace/org.eclipse.swt.motif/os/hpux/PA_RISC
> > chmod 555 *.sl`

(bug 20305 describes a related problem)