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

Bug 272714

Summary: [Table] calling setSelection() before setSize() hides first item
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: 1.2 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Ralf Sternberg CLA 2009-04-17 11:35:29 EDT
Steps to reproduce:
* create a table and some items
* call setSelection( 0 ) before setting the size

Result:
The topIndex is changed to 1, which leads to a hidden top item.
Comment 1 Ralf Sternberg CLA 2009-04-17 11:57:52 EDT
Fixed in CVS HEAD.
This was an arithmetical error in Table#showItem.
See also related bug 234103.