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

Bug 323116

Summary: [Canvas] [GC] gcOperations rendered with every request
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo, elias
Version: 1.3   
Target Milestone: 1.4 M2   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 322697    

Description Ivan Furnadjiev CLA 2010-08-19 05:28:36 EDT
Currently, gc operations have been rendered with every request, regardless this is needed or not. This produce a lot of javascript with every response. To reproduce the issue, start Controls Demo -> CanvasTab, click on "Background image" check box and observe the response - the javascript to redraw the graphics is generated.
Comment 1 Ivan Furnadjiev CLA 2010-08-20 02:49:26 EDT
Now gcOperations are rendered to the client only on canvas resize or manual redraw. Non "draw" operations (SetProperty, SetFont) are trimmed from the end of the list.
Comment 2 Ivan Furnadjiev CLA 2010-08-20 02:58:38 EDT
With these changes Riena SWT Example Aplication runs very smooth :-)
Comment 3 Elias Volanakis CLA 2010-08-20 16:14:10 EDT
Thanks Ivan!

@Christian: I'll upload the latest RAP nightly for the build server.