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

Bug 381214

Summary: [Table] setTopIndex on virtual table leads to "..." items
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 Flags: rsternberg: review+
Version: 1.5   
Target Milestone: 1.5 RC3   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2012-05-31 10:59:55 EDT
Reproducible with Controls Demo -> Table tab:
1. Select "VIRTUAL"
2. Change items count to 110.
3. Click on the "setTopIndex = 100" button.
Some "..." items appear in the tree. More over click on "Query topIndex" button returns 100, but actually it is smaller value (item with index 100 is in the middle of the table).
Comment 1 Ivan Furnadjiev CLA 2012-06-01 04:05:58 EDT
Fixed in master branch with commit 80cd9ef60d3d5e1ef61430cb21d3f886dd7f0ac3. I think it's safe to commit it in 1.5 stream too.
Comment 2 Ralf Sternberg CLA 2012-06-01 09:00:46 EDT
The fix looks safe to me, too.
Comment 3 Ivan Furnadjiev CLA 2012-06-01 09:26:47 EDT
Backport the fix to 1.5-maintenance with commit da080c3ad6e8d6fc9a180006c875f16da26cd13b.
Comment 4 Ivan Furnadjiev CLA 2012-06-02 02:48:25 EDT
For some reason I forgot to commit the adjusted tests. Fixed failing tests in both branches with commit e064b612491c348f45db705a4ccab9807ac8c0cf and 52a294c08c9de47d5f785024f013df3d89c96626.