Summary: | [Viewers] CheckboxTableViewer with DeferredContentProvider: getCheckedElements() causes rows out of the visivle range to disappear on a Virtual Table | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Chad Gustafson <chad_gustafson2002> | ||||
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P5 | CC: | andy-eclipsebugs, matt.kirkley, peter, susan, Tod_Creasey | ||||
Version: | 3.1 | Keywords: | helpwanted | ||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | stalebug | ||||||
Bug Depends on: | 92769 | ||||||
Bug Blocks: | 509006 | ||||||
Attachments: |
|
Description
Chad Gustafson
2005-04-26 09:38:14 EDT
I also noticed the same behavior while looping through the rows of the table. For example: int total = table.getItemCount(); for (int i=0;i<total;i++){ System.out.println(table.getItem(i).getText(1)); } This is likely the same problem as Bug 92769. I have made a version of this that uses a standard content provider (TestCheckBoxTableViewerSimple) that does not have this issue. I will attach a project that has all of the examples in this Bug and Bug 92769. Created attachment 21326 [details] Zip with Chad and Tods examples Here is a zip file with Chads two examples for this and Bug 92769. The versions with Simple in the title do not use the DeferredContentProvider and do not have the issues either bug is reporting. Any chance this will ever be fixed? (In reply to comment #4) > Any chance this will ever be fixed? It has a pretty low priority, but is marked as helpwanted. See http://wiki.eclipse.org/Platform_UI/How_to_Contribute Seems like a pretty big issue... To me deferredcontentprovider + SWT.VIRTUAL doesn't work. DeferredContentProvider needs a fair amount of work and is not in use within the SDK for that reason. Are there any other work arounds to populate the table in a background thread? (In reply to comment #8) > Are there any other work arounds to populate the table in a background thread? Peter, can you recommend anything? Hitesh is now responsible for watching bugs in the [Viewers] component area. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |