Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323116 - [Canvas] [GC] gcOperations rendered with every request
Summary: [Canvas] [GC] gcOperations rendered with every request
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 322697
  Show dependency tree
 
Reported: 2010-08-19 05:28 EDT by Ivan Furnadjiev CLA
Modified: 2010-08-20 16:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.