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

Bug 360949

Summary: Strange Layout with TabFolder
Product: [RT] RAP Reporter: Sebastian Bauer <mail>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
A minimalistic example demonstrating the problem. none

Description Sebastian Bauer CLA 2011-10-14 08:00:21 EDT
Build Identifier: 

The snippet that will be attached to this bug shows a weird behavior of the TabFolder. When switching to the second tab (which contains only a Canvas), the height of the whole tab is reduced. This happens with the build from 2011/10/14 but not 2011/09/20. This also does not happen with SWT.

Reproducible: Always
Comment 1 Sebastian Bauer CLA 2011-10-14 08:01:53 EDT
Created attachment 205187 [details]
A minimalistic example demonstrating the problem.
Comment 2 Ivan Furnadjiev CLA 2011-10-15 06:26:46 EDT
Last week we switched the TabFolder to the protocol and moved all the client related logic from server (LCA) to the client adapter. In order to keep the compatibility with the controls, which are not yet switch to the protocol (like Canvas) we have to keep TabFolderLCA#adjustCoordinates and change the WidgetManager#setParent not to set the parent on controls with TabFolder as parent. Changes are in CVS HEAD.