| Summary: | [Table] TopIndex is not correctly updated after disposal of items | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Jordan Yakovchev <dany> | ||||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | ivan, ruediger.herrmann | ||||||||
| Version: | 1.2 | ||||||||||
| Target Milestone: | 1.2 RC3 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Jordan Yakovchev
Created attachment 137300 [details]
Test case
In some cases setting the selection change the top index.
In TableLCA#readSelection() replacing: table.setSelection( newSelection ); // line 171 with: table.deselectAll(); table.select( newSelection ); fixes the described scenario. But the general problem (in the attached test case) persist. Created attachment 137311 [details] Proposed patch as described in comment #2. Please review the proposed patch. Created attachment 137348 [details]
Proposed patch with test case.
Please review.
+1 Changes are in CVS HEAD. |