Summary: | GP -Tree removeAll reboot windowsXp | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Felipe Heidrich <eclipse.felipe> |
Component: | SWT | Assignee: | Christophe Cornu <christophe.cornu+eclipse> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | P1 | Keywords: | performance |
Version: | 2.0 | ||
Target Milestone: | 2.1 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Felipe Heidrich
2002-10-01 12:14:42 EDT
Reproduced on 2 different XP boxes. Manifest not required (thus it is not related to commctrl 6.0) Only reproduced with the 'Window Classic' theme. Note that tree.removeAll is unacceptably slow. It is due to that line in Tree.removeAll: int result = OS.SendMessage (handle, OS.TVM_DELETEITEM, 0, OS.TVI_ROOT); The crash also occurs while the OS is processing this message. Found reports that post commctr 4.72, this call can be slow unless redrawing is disabled. Current workaround: disable redraw prior to removing all items tree.setRedraw(false); tree.removeAll(); tree.setRedraw(true); Fixed in version >v2114 |