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

Bug 368084

Summary: Omitting the scroll style flags for the ScrolledComposite breaks clients
Product: [RT] RAP Reporter: Moritz Post <mpost>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: ivan
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Moritz Post CLA 2012-01-07 10:06:14 EST
The rap protocol has been changed in request to 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=367495

This breaks clients that need to know on creation time of a ScrolledComposite what scroll directions are desirable.

Only relying on "scrollBarsVisible" is not sufficient because the property is not send when the ScrolledComposite is created. At that point there is nothing in the scroll area so the default value of false, false (which is omitted) does not provide the required information.

I would suggest to send the STYLE flags given in the ScrolledComposite constructor as has been the case previously.
Comment 1 Ivan Furnadjiev CLA 2012-01-07 11:09:00 EST
ScrolledComposite H_SCROLL and V_SCROLL style flags are rendered again.