Eclipse Project SDK R2.0 - SWT Release Notes

Notices

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

Table Of Contents

 1. Known Issues

1 Known Issues

1.1 Available Colors on 8-bit Linux

Typically, in Gnome Linux installs running with 8 bitplain visuals (i.e. 256 color mode), before the Eclipse application is started, you already do not have any 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 not affected.

1.2 Printing Support

The X printing extension implementation on Linux is currently disabled because it can take up to 7 seconds to determine that the X print server is not running. Until this is rectified, Printer.getPrinterList() will always return an empty array on the Linux platform.

1.3 Disposing in a Focus Event

Applications should not dispose widgets in focus changing events. Doing so on Motif may cause Eclipse to terminate, since Motif accesses the disposed widget within their internal focus change event handler. Similar but less serious issues exist on Windows such that occasionally an SWT exception can be thrown.

1.4 List and ComboBox on Windows NT

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.

1.5 BiDi Support

The StyledText widget now provides bidirectional language support for Hebrew and Arabic locales. Currently, this support is available only on win32, and has several known problems. It should be considered to be a preliminary implementation only.

1.6 Cursor constructor arguments

In the constructor Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY), when both a source and mask argument are specified (i.e. mask is not null), the meaning of the two arguments is reversed. That is, the "mask" argument should be the source image and the "source" argument should be the mask image. This problem was discovered too late in the development cycle to be fixed for R1.0. The intent is to fix this in a future release, potentially by introducing a new more general constructor.

1.7 ToolBar on Windows

On Windows, you must create all tool bars with the FLAT style bit set. If you do not do this, the "hot" (rollover) images of all toolbars may display incorrectly. This will be fixed in a future release.

1.8 Non ASCII strings on Linux

On Linux RedHat 6.2 only, you will not be able to display text that contains non ASCII characters. This limitation is not present on Linux RedHat 7.1 or higher.

1.9 Using J9 VM on Photon and AIX

On Photon and AIX, the SWT library will not be found when running with the J9 VM (version 1.5). This is a bug in the J9 classes library. You can workaround this problem by adding the SWT library directory to your load library path.