Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 286260

Summary: [Tree] Selection width is wrong
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Benjamin Muskalla CLA 2009-08-11 11:10:20 EDT
The selection width of a TreeItem attached to the (invisible) root node is too narrow.
This is a regression to 1.2. The selection should fill the whole first column. Seems to work correct for sub items.
See Controls Demo, Tree Tab, Select one of the root nodes (and compare it to the correct behavior of the subnodes).
Comment 1 Benjamin Muskalla CLA 2009-08-11 11:13:01 EDT
Sorry, not a regression. Only happens if you dynamically enable/disable the item images ( Show Images Button ). Is also broken for subnodes. Selection is either too narrow or too wide.
Comment 2 Ivan Furnadjiev CLA 2009-08-20 05:16:57 EDT
To fix this, the updateColumnsWidth() method is called when the images are updated (TreeItem#setImages). Changes are in CVS HEAD.