Community
Participate
Working Groups
See also bug 438478: Please launch the attached snippet, put the focus in the right text field. Then click-and-hold the left mouse button on a unselected tree node. It will show strange gray area.
Created attachment 244647 [details] Sample to reproduce
Created attachment 244648 [details] Screenshot
This seems to be related to the tree item's text (though when using owner-draw, this should not be used): change TreeItem iItem = new TreeItem(tree, 0); iItem.setData("TreeItem (0) -" + i); to TreeItem iItem = new TreeItem(tree, 0); iItem.setText("hello world"); iItem.setData("TreeItem (0) -" + i); and the gray area will be much wider.
The work-around is to not use the SWT.FULL_SELECTION flag. :(
I can't reproduce this problem any more.