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

Bug 321213

Summary: [Theming] Only deliver current theme
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: ruediger.herrmann, tbuschto
Version: 1.4   
Target Milestone: 1.5 M4   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 338647, 342047    

Description Benjamin Muskalla CLA 2010-07-29 07:04:21 EDT
We currently deliver all registered themes to the client which takes up 142k javascript code. In the case for the Examples demo, we only need the business theme which has only 44k. I think this is worth to investigate when looking at client-side performance.
Comment 1 Tim Buschtoens CLA 2010-11-19 08:11:57 EST
Also on the topic of optimizing ThemeStore performance: Its worth looking into the "resolve" funtions called when the theme-values are define on the client. Afair they need a considerable amount of time at startup. Perhaps some of the stuff they are doing could be done on the server, or can be done on-demand by the ThemeStore.
Comment 2 Ralf Sternberg CLA 2011-11-23 17:59:11 EST
Themes are now registered as static JavaScript resources. Later on, we could even consider to let them contain only JSON.
Only the default and the current themes are included in the startup page now.
The default theme is still needed as a fallback, but this may change (see bug 363736).