| Summary: | [TreeViewer] Child nodes in virtual tree don't show labels upon parent node expansion | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Austin Riddle <austin.riddle> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 1.3 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
(In reply to comment #0) Additional note: I tried to reproduce this in the RAP controls demo, but was unsuccessful I suppose because this is somehow related to TreeViewer and the controls demo uses a Tree directly. Created attachment 165442 [details]
Proposed patch
Set cached to true was commented in TreeItem#setText(). Benny, any reason to not enable the code?
Applied patch to CVS HEAD. |
Created attachment 164991 [details] Sample project illustrating problem Version: CVS HEAD Steps to reproduce: 1) Create a tree viewer with parent and child nodes. 2) Use the SWT.VIRTUAL style bit. 3) Run the app and expand a node. Observe that the initial expansion does not render labels on child nodes. Optionally use the attached sample project to illustrate problem. VirtualView.java is the view to look at.