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.
Difference between revisions of "Albireo Test Cases"
(add size propagation test cases) |
m (→Size Propagation from SWT to AWT) |
||
Line 28: | Line 28: | ||
'''Problem''': | '''Problem''': | ||
− | * On Win32, layouts are not done correctly; see the screenshot in http://dev.eclipse.org/mhonarc/lists/albireo-dev/msg00143.html | + | * 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 <tt>validate()</tt> 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. | * On Gtk and Carbon, this change has no effect. The reason is that <tt>validate()</tt> 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. | ||
Revision as of 10:46, 17 April 2008
Contents
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:
- 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.
See http://dev.eclipse.org/mhonarc/lists/albireo-dev/msg00143.html
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:
- Open the "Parameters" view (using the "Show View" menu). Check the border radiobutton.
- 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: