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

Bug 414221

Summary: [Table][Tree] Wrong alignment after column dispose/create
Product: [RT] RAP Reporter: Cho HyunJong <hangum>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.2 M1   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Test code none

Description Cho HyunJong CLA 2013-08-01 11:35:30 EDT
There is an error in the table column alignment.
I've attached the source.

How to test.
----------------------------------------------------------------
0. Create a table.

1.
TableColumn to create. align the left.
To generate the data.
(In this case, normal)
[img]https://sites.google.com/site/tadpoleimage/_/rsrc/1375320652730/others/first.png[/img]

2.
Dispose the TableColumn.
Re-create the table columns. Align the right.
to generate the data.
(In this case, normal)
[img]https://sites.google.com/site/tadpoleimage/_/rsrc/1375320675967/others/second.png[/img]

3.
Dispose the TableColumn.
Re-create the table columns. Align the left.
to generate the data.
(From this point error)
[img]https://sites.google.com/site/tadpoleimage/_/rsrc/1375320701096/others/third.png[/img]

SWT is fine.
Comment 1 Cho HyunJong CLA 2013-08-01 11:39:02 EDT
Created attachment 234024 [details]
Test code
Comment 2 Ivan Furnadjiev CLA 2013-08-05 03:43:19 EDT
Grid.js#_config.alignment[ column ] is not cleared after column disposal.
Comment 3 Ivan Furnadjiev CLA 2013-08-05 07:32:23 EDT
Fixed with commit 9b9c5db949d7edf20970fce3beb12d1bb5872380.