Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Albireo Test Cases

Revision as of 10:47, 17 April 2008 by Haible.ilog.fr (Talk | contribs) (Size Propagation from AWT to SWT)

Focus Management Test Cases

These are listed in detail here.

Size Propagation from AWT to SWT

How to Reproduce:

In class SwingControl, disable the part of updateCachedAWTSizes that starts with if (mustNotify) .... Then run the RelayoutExampleView.

Problem:

Albireo fix:

Propagate the sizes from AWT to SWT.

Size Propagation from SWT to AWT

How to Reproduce:

In class SwingControl, disable the contents of the handleSetBounds method. Then run the RelayoutExampleView.

Problem:

  • On Win32, layouts are not done correctly; see the Windows-XP style screenshot in http://dev.eclipse.org/mhonarc/lists/albireo-dev/msg00143.html
  • On Gtk and Carbon, this change has no effect. The reason is that validate() is called nevertheless, due to an event being executed in the AWT event thread. This event is of type COMPONENT_RESIZED and comes from the Frame.

Albireo fix:

Propagate the sizes from SWT to AWT.

Size Management with Border

This is 91896 SWT_AWT: Incorrect layout of AWT frame when SWT.BORDER style is set on the Composite

How to Reproduce:

  1. Open the "Parameters" view (using the "Show View" menu). Check the border radiobutton.
  2. Open the Grid Layout view or the Screen Coordinates view.

Problem:

The border width is not taken into account at the right and bottom sides.

Albireo fix:

Use an intermediate Composite without borders.

Notes:

Back to the top