| Summary: | [Table] Cell editor control is not disposed when Table is disposed | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 2.0 M3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Fixed with commit c4131d58f4e7660d73137b729f5d50f255a7184f. The call to super.releaseChildren() was missing from Table#releaseChildren. |
This test case succeed in SWT but not in RAP: public void testDisposeCellEditor() { Table table = new Table( shell, SWT.NONE ); Text cellEditor = new Text( table, SWT.NONE ); table.dispose(); assertTrue( cellEditor.isDisposed() ); } In Tree it's working fine.