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. For a description of this issue see bugzilla report #4809.

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.

1.10 Javadoc not consistent across platforms

Because of a bug in the way we updated the javadoc in our source code, the javadoc for protected methods is not consistent across platforms. The javadoc for the Windows platform, which is used to generate the documentation that appears in the Platform Plug-in Developer guide, is the definitive source. This will be fixed in a future release.

1.11 JAWS requires MSAA for List Views to read checkboxes in Tables

In order for JAWS to detect the checkbox information in Tables, MSAA support for List Views must be activated as follows:
  1. Open Eclipse and hit INSERT + F2.
  2. In the "Run JAWS Manager" dialog select "Configuration Manager".
  3. In the "Jaws Configuration Manager" that opens up, select "Set Options" and then select "Advanced Options".
  4. Check "Rely on MSAA for List views".
  5. Hit the OK button.
  6. Choose File -> Save from the menu bar.

1.12 No accelerators or mnemonics on Solaris

The Solaris implementation of Motif has a long standing bug w.r.t. adding and removing accelerators and mnemonics. The behavior is such that, the time to do so becomes increasingly longer each time it occurs, to the point that, in Eclipse's case, it can take more than a minute to switch between editors and views. Because of this, accelerators and mnemonics are explicitely ignored on Solaris.

1.13 Combo boxes with multi-line items on Linux/Motif

The Linux implementation of Motif has a bug that causes program execution to terminate if the value of an editable Combo is set through Combo.setText(String) to a string that contains five or more newline characters.