Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 260791

Summary: [CSS] Shell initial size wrong due to widget creation detection code
Product: [Eclipse Project] e4 Reporter: Kevin McGuire <Kevin_McGuire>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact: Bogdan Gheorghe <gheorghe>
Severity: normal    
Priority: P3 CC: Lars.Vogel
Version: 0.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 260406    
Bug Blocks:    

Description Kevin McGuire CLA 2009-01-12 18:31:30 EST
As work around for the the lack of a proper solution to bug #260406, CSSSWTApplyStylesListener() does the following:

	display.addFilter(SWT.Resize, new ResizeListener());
	display.addFilter(SWT.Show, new ShowListener());

This has the unfortunate side effect of causing the initial shell size to be computed very small (on win32 anyway).

When a solution for bug #260406 occurs, we should remove these addFilter() calls and this bug should go away.
Comment 1 Lars Vogel CLA 2015-05-07 19:31:16 EDT
.