| Summary: | Virtual Table: SWT.SetData event does not contain valid TreeItems (index == -1) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | bandwerker | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ericwill, mark.k.mclaren, pinnamur | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
*** This bug has been marked as a duplicate of bug 472352 *** |
Created attachment 175172 [details] Testcase that demonstrates the problem Snippet 144 shows how to use a virtual table. The snippet does not use columns, so I added some columns. Now, if that table is reloaded, SWT.SetData events are fired. In these events, my Listener finds event.index == -1 and table.indexOf(item) == -1 This seems like a bug to me. Please see the attached file for an example. The example contains a table that is populated with 200 items. Pushing the button crashes the application. The application does NOT crashe if columns are omitted. The application does NOT crash, if the number of items does not change or decreases. version.txt from swt.jar says that I am using "version 3.650".