| Summary: | [Tree] Column hiding does not properly hide column data | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rob A. <roba> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | austin.riddle, tbuschto | ||||||
| Version: | 1.4 | ||||||||
| Target Milestone: | 1.4 M3 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 320597 | ||||||||
| Attachments: |
|
||||||||
|
Description
Rob A.
Created attachment 180507 [details]
Workbench Demo Patch Test Case
Replace the DemoTreeViewPart.java file in the RAP Workbench Demo application with the attached file, then launch the Workbench Demo Application. Expand all child
nodes for any of the tree views (View V probably the best) and enlarge the view
so you can see all 4 columns displayed. Then right click on any table cell and
deselect the check Marked Column 3. This results in column 3 being hidden and
notice the data is still displayed. Repeat steps and hid column 4 and you will
see that column 4 is hidden but the last column in the tree contains data from
column 3 & column 4.
Created attachment 180508 [details]
Screen shots showing display bug
This issue can be reproduced with Controls Demo -> Tree Tab. If you resize the column to a very small width ( in the example above it is set to 0 to completely hide the column ), but the size that is less than the item left padding provoke the bug too. This is an issue of server-side layouting. A related bug can be seen with any image in a column except the first: It will not be cut-off if the column is to small to show it. Fixed in CVS HEAD in Tree.java. Also added and refactored a number of tests for Tree and TreeItem. *** Bug 328665 has been marked as a duplicate of this bug. *** |