Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Albireo Test Cases"

m (Size Propagation from SWT to AWT)
m (Size Propagation from AWT to SWT)
Line 13: Line 13:
  
 
* On Win32, some parts of the RelayoutExampleView don't display themselves at all.
 
* On Win32, some parts of the RelayoutExampleView don't display themselves at all.
* On Gtk and Carbon, the size of the controls in RelayoutExampleView vary in a discontinuous way depending on the width.
+
* On Gtk and Carbon, the size of the controls in RelayoutExampleView vary in a discontinuous way depending on the width. See the two KDE-style screenshots in http://dev.eclipse.org/mhonarc/lists/albireo-dev/msg00143.html
See http://dev.eclipse.org/mhonarc/lists/albireo-dev/msg00143.html
+
  
 
'''Albireo fix''':
 
'''Albireo fix''':

Revision as of 10:47, 17 April 2008

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