| Summary: | SWT.DefaultSelection listener removes Expand in Tree | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Ilya Dudarev <1virus1> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | 1virus1, eclipse.felipe |
| Version: | 3.6.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Ilya Dudarev
That is the correct behaviour. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=155817#c2 Here is the comment in the code: /* * When the user double clicks on a tree item * or a line beside the item, the window proc * for the tree collapses or expand the branch. * When application code associates an action * with double clicking, then the tree expand * is unexpected and unwanted. The fix is to * avoid the operation by testing to see whether * the mouse was inside a tree item. */ Closing as wont fix. |