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

Bug 316001

Summary: CSS Styles not applied correctly the second time (switching via the ThemeManager)
Product: [Eclipse Project] e4 Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED INVALID QA Contact: Bogdan Gheorghe <gheorghe>
Severity: normal    
Priority: P3 CC: Lars.Vogel, tom.schindl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Eclipse3.6-CSS
none
New version of Example none

Description Lars Vogel CLA 2010-06-07 10:38:46 EDT
Created attachment 171274 [details]
Eclipse3.6-CSS

If I use the IThemeManager in Eclipse 3.6 the styling works not always. Have for example a look at the attached project. 

At startup is load Theme ID "de.vogella.rcp.css.themes.default". Using the command  "de.vogella.rcp.css.commands.switchstyle" is switch to "de.vogella.rcp.css.themes.colorful" which works great. 

But if I switch back to "de.vogella.rcp.css.themes.default" the colors of the child elements are not reseted.
Comment 1 Lars Vogel CLA 2010-06-07 10:39:55 EDT
Not sure if this is related to Toms Change. Adding him.
Comment 2 Lars Vogel CLA 2010-06-07 10:59:24 EDT
Created attachment 171279 [details]
New version of Example

Same example, cleaned up
Comment 3 Lars Vogel CLA 2012-09-18 14:31:57 EDT
We have to restart to apply the new CSS. Closing as INVALID