| Summary: | [ScrolledComposite] Thumb is not shown under certain circumstances | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.4 | ||||||
| Target Milestone: | 1.5 M1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rüdiger Herrmann
Created attachment 197868 [details]
Screenshot
I can reproduce it too. Tested in Firefox, Chrome, Safari and IE. The reason for this issue is the following: DetailedProgressViewer creates two composites ( "control" and "noEntryArea" ) with the same parent - the ScrolledComposite. They are switched as ScrolledComposite content (ScrolledComposite#setContent is called) in DetailedProgressViewer#updateForShowingProgress. Currently on the client-side, the content of the ScrolledComposite is set in WidgetManager#setParent when a control with ScrolledComposite as parent is created, but not when it is set by ScrolledComposite#setContent on the server. Thus on the client-side, the last created control with ScrolledComposite as parent is set as content without respecting the current state of server-side "content" field. The solution will be to remove parent#setContent from the WidgetManager and synchronize the "content" field trough ScrolledCompositeLCA. Fixed in CVS HEAD as suggested in comment #3 - remove parent#setContent from the WidgetManager and synchronize the "content" field trough ScrolledCompositeLCA. |