Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 280905 - [table] Wrong column position after movement
Summary: [table] Wrong column position after movement
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 07:26 EDT by Jordan Yakovchev CLA
Modified: 2009-07-25 16:18 EDT (History)
0 users

See Also:


Attachments
Proposed patch (8.24 KB, patch)
2009-06-22 09:02 EDT, Jordan Yakovchev CLA
no flags Details | Diff
Proposed patch (8.21 KB, patch)
2009-06-23 08:03 EDT, Jordan Yakovchev CLA
rsternberg: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Yakovchev CLA 2009-06-19 07:26:07 EDT
Build ID: M20090211-1700

Steps To Reproduce:
1. In the Controls demo select Table tab
2. Check the box 'Moveable columns'
3. Move 'Col 4' between column 0 and column 1
4. Try to move the same column ('Col 4') between columns 2 and 3
5. Most times it does not change its position.


More information:
There are also cases when the column is incorrectly positioned.
Comment 1 Jordan Yakovchev CLA 2009-06-22 09:02:53 EDT
Created attachment 139745 [details]
Proposed patch

findMoveTarget method of TableColumnLCA.java is fixed by this patch.
Comment 2 Jordan Yakovchev CLA 2009-06-23 08:03:40 EDT
Created attachment 139859 [details]
Proposed patch
Comment 3 Ralf Sternberg CLA 2009-07-25 16:18:00 EDT
Applied second patch to CVS HEAD.